I have a wsdl with schema where one of types contains a xsd:choice with maxOccur="unbounded".
I was not able to generate java class with wsdl2java that would treats that correctly. No array-like class/member is generated.
Is that known limitation of axis1 or some workaround is available?
axis1 v1.4
xsd snipplet :
<complexType name="BatchableRequest">
<complexContent>
<extension base="RequestType">
<xsd:choice maxOccurs="unbounded" minOccurs="0">
<xsd:element name="addRequest" type="AddRequestType" />
<xsd:element name="deleteRequest" type="DeleteRequestType" />
<xsd:element name="modifyRequest" type="ModifyRequestType" />
<xsd:element name="lookupRequest" type="LookupRequestType" />
</xsd:choice >
</extension>
</complexContent>
</complexType>
Thanks,
Gennady