Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JAX-WS problem with inheritance

843834May 20 2010 — edited May 20 2010
Hi,

the problem is this, I call a webservice and as response get an object based on some abstract superclass. Although the type in the soap message is correct and the superclass has the @XmlSeeAlso annotation JAX-WS always tries to instantiate the superclass... and obviously fails as it is abstract.
I spent the last few days looking for a solution but everything related to this problem just says "add XmlSeeAlso".

Anybody an idea what might cause this behaviour?


Oh and some additional info, the client classes where all generated by wsimport.


Thanks
Simon
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 17 2010
Added on May 20 2010
0 comments
221 views