axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rainer Menzner (JIRA)" <>
Subject [jira] Commented: (AXIS2-1702) WSDL2Java: minOccurs and maxOccurs in <sequence>/<choice> are not respected.
Date Mon, 18 Dec 2006 08:42:22 GMT
    [ ] 
Rainer Menzner commented on AXIS2-1702:

Hi Amila,

yes, somebody mentioned that this was not supported by adb. But 
according to my
understanding, it is a bug (or at least a sorely missing feature) because a
considerable number of problems can be solved far more easy if minOccurs and
maxOccurs are respected. And after all, minOccurs and maxOccurs at the 
sequence /
choice level is well-defined WSDL which should at least not be silently 
This is the reason why I filed a JIRA.



Dr. Rainer Menzner
Research & Development

an L-1 Identity Solutions Company (NYSE: ID)

Mail Address:
Viisage Technology AG
Universitaetsstrasse 160
D-44801 Bochum, Germany

Phone:  +49 (0)234 9787-41
Fax:    +49 (0)234 9787-77

Visit our Website:

> WSDL2Java: minOccurs and maxOccurs in <sequence>/<choice> are not respected.
> ----------------------------------------------------------------------------
>                 Key: AXIS2-1702
>                 URL:
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.1
>         Environment: WinXP
>            Reporter: Rainer Menzner
>         Assigned To: Amila Chinthaka Suriarachchi
> The following is a valid wsdl code:
>            <xsd:element name="ClaimMultipleElementsResult" type="tns:ClaimMultipleElementsResultType"/>
>            <xsd:complexType name="ClaimMultipleElementsResultType">
>                <xsd:sequence maxOccurs="unbounded" minOccurs="0">
>                    <xsd:element name="Element" type="xsd:hexBinary" maxOccurs="1"
>                    <xsd:element name="ElementId" type="xsd:int" maxOccurs="1" minOccurs="1"/>
>                </xsd:sequence>
>            </xsd:complexType>
> This means, the ClaimMultipleElementsResultType can contain zero or more pairs of Element
/ ElementId.
> However, the stub class ClaimMultipleElementsResultType created by WSDL2Java provides
> only access for *one* pair of Element / ElementId. 
> I'm not sure whether this is a duplicate of issue AXIS2-840.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message