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 "Dave Meier (JIRA)" <ji...@apache.org> on 2007/02/23 17:10:05 UTC

[jira] Created: (AXIS2-2251) org.apache.axis2.wsdl.WSDL2C: WSDL Choice element not handled when generating 'C' code

org.apache.axis2.wsdl.WSDL2C: WSDL Choice element not handled when generating 'C' code
--------------------------------------------------------------------------------------

                 Key: AXIS2-2251
                 URL: https://issues.apache.org/jira/browse/AXIS2-2251
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
         Environment: Windows XP
            Reporter: Dave Meier
             Fix For: 1.1.1


WSDL:

  <complexType name="NameValue">
   <sequence>
     <element name="name" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
    <choice>
     <element name="value" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
     <element name="values" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
    </choice>
   </sequence>
  </complexType>

Code Gen options:
org.apache.axis2.wsdl.WSDL2C -f -uri test.wsdl -o server10 -d adb -ss -sd

Resulting Code, Only the name part is generated:

        struct axis2_NameValue_impl
        {
            axis2_NameValue_t NameValue;

            axis2_char_t* attrib_name;
            
        };



-- 
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-2251) org.apache.axis2.wsdl.WSDL2C: WSDL Choice element not handled when generating 'C' code

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

Davanum Srinivas updated AXIS2-2251:
------------------------------------

    Assignee: Amila Chinthaka Suriarachchi

> org.apache.axis2.wsdl.WSDL2C: WSDL Choice element not handled when generating 'C' code
> --------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2251
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2251
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>         Environment: Windows XP
>            Reporter: Dave Meier
>         Assigned To: Amila Chinthaka Suriarachchi
>             Fix For: 1.1.1
>
>
> WSDL:
>   <complexType name="NameValue">
>    <sequence>
>      <element name="name" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
>     <choice>
>      <element name="value" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
>      <element name="values" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
>     </choice>
>    </sequence>
>   </complexType>
> Code Gen options:
> org.apache.axis2.wsdl.WSDL2C -f -uri test.wsdl -o server10 -d adb -ss -sd
> Resulting Code, Only the name part is generated:
>         struct axis2_NameValue_impl
>         {
>             axis2_NameValue_t NameValue;
>             axis2_char_t* attrib_name;
>             
>         };

-- 
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] Resolved: (AXIS2-2251) org.apache.axis2.wsdl.WSDL2C: WSDL Choice element not handled when generating 'C' code

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

Amila Chinthaka Suriarachchi resolved AXIS2-2251.
-------------------------------------------------

    Resolution: Invalid

please report this issue at http://ws.apache.org/axis2/c/

> org.apache.axis2.wsdl.WSDL2C: WSDL Choice element not handled when generating 'C' code
> --------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2251
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2251
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: codegen
>         Environment: Windows XP
>            Reporter: Dave Meier
>         Assigned To: Amila Chinthaka Suriarachchi
>             Fix For: 1.1.1
>
>
> WSDL:
>   <complexType name="NameValue">
>    <sequence>
>      <element name="name" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
>     <choice>
>      <element name="value" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
>      <element name="values" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
>     </choice>
>    </sequence>
>   </complexType>
> Code Gen options:
> org.apache.axis2.wsdl.WSDL2C -f -uri test.wsdl -o server10 -d adb -ss -sd
> Resulting Code, Only the name part is generated:
>         struct axis2_NameValue_impl
>         {
>             axis2_NameValue_t NameValue;
>             axis2_char_t* attrib_name;
>             
>         };

-- 
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