Hi,
Since I need to have some kind of extensibility in a web service i'm currently defining, I decided to play with the Axis2 userguide sample and tried to change the original WSDL so that the "SOAPStruct" message type would include an xsd:any element :
<complexType name="SOAPStruct">
<all>
<element type="float" name="varFloat" />
<element type="int" name="varInt" />
<element type="string" name="varString" />
<any maxOccurs="1"/>
</all>
</complexType>
When I run WSDL2Java, the xsd:any element isn't mapped anywhere in the generated SOAPStruct.java, whereas the other are. I also tried just the following :
<complexType name="SOAPStruct">
<sequence>
<any/>
</sequence>
</complexType>
And then I've got barely nothing in the SOAPStruct.java (except the declaration of the Factory class)
Could someone please help me with this ? I'm sure I made some kind of stupid error since using xsd:any shouldn't be really hard, I guess.
I'm using Axis2 1.0.