Skip to main content

Support for inheritence?

3 replies [Last post]
dhunter21
Offline
Joined: 2005-06-20

I've defined a wsdl with an operation : submit(Submission)

Submission is a complexType and is extended by Filing.

If through my client I try to submit(Filing) the soap message only contains the base class, and not any of the information that is contained within the subclass.

Does JAX-WS support this kind of inheritence?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
kohlert
Offline
Joined: 2003-06-16

Unfortunately, no.

dhunter21
Offline
Joined: 2005-06-20

will this ever be supported, or is there technical reason why it can't?

kohlert
Offline
Joined: 2003-06-16

There are some difficult technical issues involving JAX-WS's use of JAXB that prevents this at this time. I can't seem to remember that exact nature of these issues, perhaps someone else might remember.