hi guys!
I've a little problem, but I'm convinced you can help me out of this
misery.=)
I get data from a webservice that i I have to save into database, because
afterwards the data is getting altered. So i copied the complete structure
to build my own domain model. The structure is very deep, and it's annoying
to map all files from AOffering to BOffering and so own.
So I tried to change the also generated jaxb Axxxxx-files from @XmlType(name
= "AOffering") to @XmlType(name = "BOffering") and I assumed that jaxb
should now map the xml into Axxxxx classes because of the xsi:type in there
-> ...<Offering xsi:type="ns2:BOffering">... .
But jaxb ignores the xmltype name and instantiates objects with the name of
the class.
Is there a possibility to change this behavior?
Thanks in advance
Best wishes
Chris
--
View this message in context: http://www.nabble.com/binding-to-other-classes-than-the-generated-classes-tp19215090p19215090.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.