Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-3655

Improper WSDL generation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3
    • 1.7.0
    • wsdl
    • None
    • I used Axis2 v1.3 on JBossAS v4.0.5 running on Java 1.6.0_03. I used Windows XP.

    Description

      I have create a POJO service that returns a List<Person>.

      The WSDL that is generated describes the service like so:
      <xs:element name="getPeopleResponse">
      <xs:complexType>
      <xs:sequence>
      <xs:element minOccurs="0" name="return"
      nillable="true" type="xs:anyType"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>

      whereas the element should probably actually state:
      <xs:element minOccurs="0" maxOccurs="unbounded" name="return" nillable="true" type="ns0:Person"/>

      That is, there should be "maxOccurs="unbounded"" and the type should be "ns0:Person" instead of "xs:anyType".

      Attachments

        1. PersonExpample.zip
          2.06 MB
          Nate Roe

        Issue Links

          Activity

            People

              sagara Sagara Gunathunga
              nate.roe@vegas.com Nate Roe
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: