Does JAXWS 'support' abstract classes in lieu of substitutions or choice groups?
I can't seem to get derived types to be properly written to the wsdl.
Any help is appreciated.
here's a sample wsdl which does not react as i expect
Yes. You can use @XmlElementRef and hae subclasses use different tag names.
This would be an excellent topic for https://jaxb.dev.java.net/guide/
If only I have some time to update it...
Thanks again for answering... Is there any way that I can get the @XmlElementRef annotation added when generating jaxb artifacts from a schema/wsdl?
Maybe I misunderstood your question. If you're compiling WSDL, you should have gotten the right annotations and the right set of classes.
Perhaps your question was "I got such and such databinding for my WSDL but I wanted it little different". If so, please explain what you got and what you wanted.
i think that the following bug here: https://jaxb.dev.java.net/issues/show_bug.cgi?id=201
is exactly the issue i'm referring to
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.