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

          Tim Oertel created issue -
          Eran Chinthaka made changes -
          Field Original Value New Value
          Assignee Eran Chinthaka [ eran chinthaka ]
          Davanum Srinivas made changes -
          Link This issue relates to AXIS2-840 [ AXIS2-840 ]
          Davanum Srinivas made changes -
          Component/s adb [ 12311390 ]
          Deepal Jayasinghe made changes -
          Assignee Eran Chinthaka [ eran chinthaka ] Amila Chinthaka Suriarachchi [ amilachinthaka ]
          Amila Chinthaka Suriarachchi made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]

            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