I am doing bottom up Web Service development on Tomcat 5.5.23. WSDL is being generated from an existing POJO implementation by running it through the apt tool. The POJO looks like this:
@WebService... @WebMethod BaseClass retrieveInfo(ClassA parm1) The BaseClass has 4 subclasses. I need the client to be able to use the subtypes; e.g. they should be exposed in the WSDL. I have tried to annotate the subclasses with the @XmlType (name = "subtypeName") annotation, but the apt tool seems to ignore it. My build scripts are based on the example found here: http://www.devx.com/Java/Article/30459 I've searched the web for hours looking for examples of inheritance mapping in bottom up web service development to no avail. However, reading the JAXB 2.0 spec seems to indicate that this should be supported. Any help much appreciated. -- View this message in context: http://www.nabble.com/JAXWS-inheritance-in-return-type-tf4025947.html#a11435634 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]