You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by gshum <gs...@gmail.com> on 2009/11/03 12:17:18 UTC

Axis1 support for choice or sequence with maxOccur="unbounded"

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
-- 
View this message in context: http://old.nabble.com/Axis1-support-for-choice-or-sequence-with-maxOccur%3D%22unbounded%22-tp26160068p26160068.html
Sent from the Axis - User mailing list archive at Nabble.com.