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 "Shehan Simen (JIRA)" <ji...@apache.org> on 2008/09/16 06:51:44 UTC

[jira] Created: (AXIS2-4035) wsdl2java code generation problem for ADB

wsdl2java code generation problem for ADB
-----------------------------------------

                 Key: AXIS2-4035
                 URL: https://issues.apache.org/jira/browse/AXIS2-4035
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: adb
    Affects Versions: 1.4
         Environment: win
            Reporter: Shehan Simen
            Priority: Critical


I got the following element in a complex type.
 
<s:complexType name="ResponseBusinessEntity" mixed="false">
<s:complexContent mixed="false">
<s:extension base="tns:ResponseBody">
<s:sequence>
<s:choice minOccurs="0" maxOccurs="unbounded">
                        <s:element name="legalName" type="tns:IndividualName" minOccurs="0"/>
                        <s:element name="mainName" type="tns:OrganisationName" minOccurs="0"/>
</s:choice>
</s:sequence>
            </s:extension>
            </s:complexContent>
</s:complexType>
 
The choice is multiple, means an array.  In this case, if I use ADB, it generates a code which will create a list in endless loop and finally crash memory. If I use xmlbeans, it seems working fine.
In short, if there is a choice with maxOccurs="unbounded", ADB client code (stub) generation will fail.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-4035) wsdl2java code generation problem for ADB

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-4035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631702#action_12631702 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-4035:
-----------------------------------------------------

could you please attach your full wsdl file? Or a sample wsdl to show your issue.

> wsdl2java code generation problem for ADB
> -----------------------------------------
>
>                 Key: AXIS2-4035
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4035
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.4
>         Environment: win
>            Reporter: Shehan Simen
>            Priority: Critical
>
> I got the following element in a complex type.
>  
> <s:complexType name="ResponseBusinessEntity" mixed="false">
> <s:complexContent mixed="false">
> <s:extension base="tns:ResponseBody">
> <s:sequence>
> <s:choice minOccurs="0" maxOccurs="unbounded">
>                         <s:element name="legalName" type="tns:IndividualName" minOccurs="0"/>
>                         <s:element name="mainName" type="tns:OrganisationName" minOccurs="0"/>
> </s:choice>
> </s:sequence>
>             </s:extension>
>             </s:complexContent>
> </s:complexType>
>  
> The choice is multiple, means an array.  In this case, if I use ADB, it generates a code which will create a list in endless loop and finally crash memory. If I use xmlbeans, it seems working fine.
> In short, if there is a choice with maxOccurs="unbounded", ADB client code (stub) generation will fail.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-4035) wsdl2java code generation problem for ADB

Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amila Chinthaka Suriarachchi reassigned AXIS2-4035:
---------------------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> wsdl2java code generation problem for ADB
> -----------------------------------------
>
>                 Key: AXIS2-4035
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4035
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.4
>         Environment: win
>            Reporter: Shehan Simen
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Critical
>
> I got the following element in a complex type.
>  
> <s:complexType name="ResponseBusinessEntity" mixed="false">
> <s:complexContent mixed="false">
> <s:extension base="tns:ResponseBody">
> <s:sequence>
> <s:choice minOccurs="0" maxOccurs="unbounded">
>                         <s:element name="legalName" type="tns:IndividualName" minOccurs="0"/>
>                         <s:element name="mainName" type="tns:OrganisationName" minOccurs="0"/>
> </s:choice>
> </s:sequence>
>             </s:extension>
>             </s:complexContent>
> </s:complexType>
>  
> The choice is multiple, means an array.  In this case, if I use ADB, it generates a code which will create a list in endless loop and finally crash memory. If I use xmlbeans, it seems working fine.
> In short, if there is a choice with maxOccurs="unbounded", ADB client code (stub) generation will fail.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-4035) wsdl2java code generation problem for ADB

Posted by "Shehan Simen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-4035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shehan Simen updated AXIS2-4035:
--------------------------------

    Description: 
I got the following element in a complex type.
 
<s:complexType name="ResponseBusinessEntity" mixed="false">
<s:complexContent mixed="false">
<s:extension base="tns:ResponseBody">
<s:sequence>
<s:choice minOccurs="0" maxOccurs="unbounded">
                        <s:element name="legalName" type="tns:IndividualName" minOccurs="0"/>
                        <s:element name="mainName" type="tns:OrganisationName" minOccurs="0"/>
</s:choice>
</s:sequence>
            </s:extension>
            </s:complexContent>
</s:complexType>
 
The choice is multiple, means an array.  In this case, if I use ADB, it generates a code which will create a list in endless loop and finally crash memory. If I use xmlbeans, it seems working fine.
In short, if there is a choice with maxOccurs="unbounded", ADB client code (stub) generation will fail.
You can find the wsdl at http://abr.business.gov.au/abrxmlsearch/ABRXMLSearch.asmx?WSDL

  was:
I got the following element in a complex type.
 
<s:complexType name="ResponseBusinessEntity" mixed="false">
<s:complexContent mixed="false">
<s:extension base="tns:ResponseBody">
<s:sequence>
<s:choice minOccurs="0" maxOccurs="unbounded">
                        <s:element name="legalName" type="tns:IndividualName" minOccurs="0"/>
                        <s:element name="mainName" type="tns:OrganisationName" minOccurs="0"/>
</s:choice>
</s:sequence>
            </s:extension>
            </s:complexContent>
</s:complexType>
 
The choice is multiple, means an array.  In this case, if I use ADB, it generates a code which will create a list in endless loop and finally crash memory. If I use xmlbeans, it seems working fine.
In short, if there is a choice with maxOccurs="unbounded", ADB client code (stub) generation will fail.


You can find the wsdl at http://abr.business.gov.au/abrxmlsearch/ABRXMLSearch.asmx?WSDL

> wsdl2java code generation problem for ADB
> -----------------------------------------
>
>                 Key: AXIS2-4035
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4035
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.4
>         Environment: win
>            Reporter: Shehan Simen
>            Assignee: Amila Chinthaka Suriarachchi
>            Priority: Critical
>
> I got the following element in a complex type.
>  
> <s:complexType name="ResponseBusinessEntity" mixed="false">
> <s:complexContent mixed="false">
> <s:extension base="tns:ResponseBody">
> <s:sequence>
> <s:choice minOccurs="0" maxOccurs="unbounded">
>                         <s:element name="legalName" type="tns:IndividualName" minOccurs="0"/>
>                         <s:element name="mainName" type="tns:OrganisationName" minOccurs="0"/>
> </s:choice>
> </s:sequence>
>             </s:extension>
>             </s:complexContent>
> </s:complexType>
>  
> The choice is multiple, means an array.  In this case, if I use ADB, it generates a code which will create a list in endless loop and finally crash memory. If I use xmlbeans, it seems working fine.
> In short, if there is a choice with maxOccurs="unbounded", ADB client code (stub) generation will fail.
> You can find the wsdl at http://abr.business.gov.au/abrxmlsearch/ABRXMLSearch.asmx?WSDL

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org