org.apache.axis2.builder.BuilderUtil#buildsoapMessage: HTTP Binding with GET assumes that inner elements are qualified. -----------------------------------------------------------------------------------------------------------------------
Key: AXIS2-4608 URL: https://issues.apache.org/jira/browse/AXIS2-4608 Project: Axis2 Issue Type: Bug Components: kernel Affects Versions: 1.6, 1.5.1 Reporter: Hugues Malphettes When invoking a WSDL with GET with this URL http://localhost:8080/crm/services/mashups/ws/test.xws/Test?New_Input=20091010 and where the schema of the WSDL is using non-qualified elements, the soap message generated uses qualified element. Here is a more complete example: <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="file://services/mashups/ws/test.xws"> <xs:complexType name="Exception"> <xs:sequence> <xs:element minOccurs="0" name="Exception__" nillable="true" type="xs:anyType"/> </xs:sequence> </xs:complexType> <xs:element name="Exception"> <xs:complexType> <xs:sequence> <xs:element minOccurs="0" name="Exception__" nillable="true" type="ns:Exception"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Test"> <xs:complexType> <xs:sequence> <xs:element form="unqualified" name="New_Input" type="xs:date"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="TestResponse" type="xs:date"/> </xs:schema> The soap message generated by org.apache.axis2.builder.BuilderUtil#buildsoapMessage is for example: <axis2ns1:Test xmlns:axis2ns1="file://services/mashups/ws/test.xws"> <axis2ns1:Input1> foo </axis2ns1:Input1> <axis2ns1:Input2> bar </axis2ns1:Input2> </axis2ns1:Test> It should be: <axis2ns1:Test xmlns:axis2ns1="file://services/mashups/ws/test.xws"> <Input1> foo </Input1> <Input2> bar </Input2> </axis2ns1:Test> -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.