Axis2-C
  1. Axis2-C
  2. AXIS2C-561

WSDL2C: WSDL Choice element not handled

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.96
    • Fix Version/s: 1.1.0
    • Component/s: code generation
    • Labels:
      None
    • Environment:
      Windows XP.

      Description

      This problem is fixed in the trunk of Axis2, but the fix needs to be made on the Axis2 1.1.1 branch as well.

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

      ;

        Activity

        Dave Meier created issue -
        Samisa Abeysinghe made changes -
        Field Original Value New Value
        Priority Blocker [ 1 ] Major [ 3 ]
        Fix Version/s 0.96 [ 12312153 ]
        Hide
        Samisa Abeysinghe added a comment -

        Please use Axis2/Java 1.3 or later release for this support.

        Show
        Samisa Abeysinghe added a comment - Please use Axis2/Java 1.3 or later release for this support.
        Samisa Abeysinghe made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.1.0 [ 12312520 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Dave Meier
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development