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

axis2 server doesn't support WSDL collection <all>

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0
    • None
    • adb
    • None

    Description

      I have a WSDL fragment:

      <xs:element name="Update">
      <xs:complexType>
      <xs:all>
      <xs:element type="xs:anyType" name="id" minOccurs="1" maxOccurs="1"/>
      <xs:element type="xs:anyType" name="arg0" minOccurs="0" maxOccurs="1"/>
      <xs:element type="xs:anyType" name="arg1" minOccurs="0" maxOccurs="1"/>
      </xs:all>
      </xs:complexType>
      </xs:element>

      I'm invoking the service via REST via http://.../Update?id=123&arg0=test+01

      When my hand-written service is invoked, I do a toString on the OMElement
      my service is invoked with. It returns:
      <axis2ns1:Update xmlns:axis2ns1="http://foo/xsd" />

      ... without any of the parameters.

      It appears that axis2/util/SchemaUtil.java:handlemediaTypeURLEncoded() only supports
      XmlSchemaSequence, ignoring all other particles, which may lead to the above issue.

      Attachments

        Issue Links

          Activity

            People

              amilachinthaka Amila Chinthaka Suriarachchi
              toertel Tim Oertel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: