Hi, I'm parsing a WSDL which has a xsd:choice. How can I model a xsd:choice on java?, I didn't find a union class or something like that.
I'm using EasyWSDL to parse the WSDL.
Federico
2010-09-23 19:36:20
@Federico JAXB will create model for you from parser XSD.
org.life.java
2010-09-23 19:51:19
thanks I tried it and it's very good
Federico
2010-10-08 20:56:37
A:
You can use a "Marker" interface (an interface which defines no methods) and let the different choices be a class which implements that interface.
Peter Tillemans
2010-09-23 19:36:29