You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Gopalakrishnan (JIRA)" <ji...@apache.org> on 2009/04/22 03:04:47 UTC
[jira] Created: (AXIS2-4319) CLONE -WSDL2Java: minOccurs and
maxOccurs in / are not respected.
CLONE -WSDL2Java: minOccurs and maxOccurs in <sequence>/<choice> are not respected.
-----------------------------------------------------------------------------------
Key: AXIS2-4319
URL: https://issues.apache.org/jira/browse/AXIS2-4319
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: adb
Affects Versions: 1.1
Environment: WinXP
Reporter: Gopalakrishnan
Assignee: Amila Chinthaka Suriarachchi
Priority: Blocker
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" minOccurs="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.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AXIS2-4319) CLONE -WSDL2Java: minOccurs and
maxOccurs in / are not respected.
Posted by "Gopalakrishnan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12701345#action_12701345 ]
Gopalakrishnan commented on AXIS2-4319:
---------------------------------------
Iam using Axis2 1.4 and we face this issue where in the stub class created by WSDL2Java provides only accesss to 1 pair of the underlying elements. If you have fixed this issue please let us know which version is it being fixed.
> CLONE -WSDL2Java: minOccurs and maxOccurs in <sequence>/<choice> are not respected.
> -----------------------------------------------------------------------------------
>
> Key: AXIS2-4319
> URL: https://issues.apache.org/jira/browse/AXIS2-4319
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Affects Versions: 1.1
> Environment: WinXP
> Reporter: Gopalakrishnan
> Assignee: Amila Chinthaka Suriarachchi
> Priority: Blocker
>
> 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" minOccurs="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.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AXIS2-4319) CLONE -WSDL2Java: minOccurs and
maxOccurs in / are not respected.
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12796127#action_12796127 ]
Amila Chinthaka Suriarachchi commented on AXIS2-4319:
-----------------------------------------------------
this should be fixed in Axis2 1.5. if not please provide the wsdl.
> CLONE -WSDL2Java: minOccurs and maxOccurs in <sequence>/<choice> are not respected.
> -----------------------------------------------------------------------------------
>
> Key: AXIS2-4319
> URL: https://issues.apache.org/jira/browse/AXIS2-4319
> Project: Axis2
> Issue Type: Bug
> Components: adb
> Affects Versions: 1.1
> Environment: WinXP
> Reporter: Gopalakrishnan
> Assignee: Amila Chinthaka Suriarachchi
> Priority: Blocker
> Fix For: 1.6
>
>
> 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" minOccurs="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.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (AXIS2-4319) CLONE -WSDL2Java: minOccurs and
maxOccurs in / are not respected.
Posted by "Glen Daniels (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-4319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Glen Daniels updated AXIS2-4319:
--------------------------------
Fix Version/s: 1.6
Targeting this at 1.6
> CLONE -WSDL2Java: minOccurs and maxOccurs in <sequence>/<choice> are not respected.
> -----------------------------------------------------------------------------------
>
> Key: AXIS2-4319
> URL: https://issues.apache.org/jira/browse/AXIS2-4319
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: adb
> Affects Versions: 1.1
> Environment: WinXP
> Reporter: Gopalakrishnan
> Assignee: Amila Chinthaka Suriarachchi
> Priority: Blocker
> Fix For: 1.6
>
>
> 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" minOccurs="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.
-
You can reply to this email to add a comment to the issue online.