Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0
-
None
-
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
- relates to
-
AXIS2-840 wsdl <sequence> does not respect minOccurs/maxOccurs on server
- Resolved