Axis2
  1. Axis2
  2. AXIS2-842

axis2 server doesn't support WSDL collection <all>

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Component/s: adb
    • Labels:
      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.

        Issue Links

          Activity

          Hide
          Amila Chinthaka Suriarachchi added a comment -

          this has been fixed now

          Show
          Amila Chinthaka Suriarachchi added a comment - this has been fixed now
          Hide
          Tim Oertel added a comment -

          Tried to link this issue to AXIS2-840, but can't figure out how...

          Show
          Tim Oertel added a comment - Tried to link this issue to AXIS2-840 , but can't figure out how...

            People

            • Assignee:
              Amila Chinthaka Suriarachchi
              Reporter:
              Tim Oertel
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development