Uploaded image for project: 'Axis-C++'
  1. Axis-C++
  2. AXISCPP-887

WSDL2Ws ignores <xsd:any> inside <xsd:choice>

    XMLWordPrintableJSON

Details

    Description

      WSDL2Ws ignores <xsd:any> inside <xsd:choice> and won't generate source.

      Here is the complextype definition,

      <xsd:complexType name="SimpleComplexType1">
      <xsd:choice>
      <xsd:any namespace = "##any" />
      <xsd:element name="field3" type="xsd:string" nillable="false"/>
      <xsd:element name="field4" type="xsd:string" nillable="false"/>
      </xsd:choice>
      </xsd:complexType>

      When WSDL2Ws generates code for wsdl having above complex type definition, there are no entries for <xsd:any> element in SimpleComplexType1.hpp file.

      I am attaching the wsdl here and I will add a test for this.

      Regards
      Manohar

      Attachments

        1. ComplexTypeChoiceNestedAny.wsdl
          3 kB
          Manohar Kumar Chintala

        Activity

          People

            Unassigned Unassigned
            cmanohar Manohar Kumar Chintala
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: