Hi,
I am currently stuck on a problem using JAXB 2.0 (I CAN'T change this) with
some abstract classes.
I have to use List of abstract objects in my web services but I get a
InstanciationException when Marshalling/Unmarshalling my abstract object.
JAXB try to instanciate it but, of course, Abstract Classes can't by
instanciated.
With JAXB 2.1 I can use @XmlSeeAlso annotation to specify which classes are
herited from my abstract class, or @Transient on the abstract class. BUT
none of these solutions are allowed by JAXB 2.0.
How could I manage passing abstract classes to my web services ?
Any help or any hint will be much appreciated.
Thanks
--
View this message in context: http://www.nabble.com/Abstract-classes-with-JAXB-2.0-tp20036168p20036168.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.