Missing namespace in SOAP response
----------------------------------
Key: AXIS2-3656
URL: https://issues.apache.org/jira/browse/AXIS2-3656
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Environment: Axis2 v1.3 on JBossAS v4.0.5 running on Java 1.6.0_03.
Windows XP.
Reporter: Nate Roe
When my POJO service responds with a List<Person>, the SOAP response serializes
a Person as follows:
<ns:return type="com.vegas.test.data.Person">
<ax21:address type="com.vegas.test.data.Address">
<ax21:city>Las Vegas</ax21:city>
<ax21:street>12345 Pecos Road</ax21:street>
</ax21:address>
<ax21:name>Jeff Doe 0</ax21:name>
</ns:return>
Notice that for both <ns:return> and <ax21:address>, the "type" attribute has
no namespace.
This should look like:
<ns:return xsi:type="com.vegas.test.data.Person">
<ax21:address xsi:type="com.vegas.test.data.Address">
<ax21:city>Las Vegas</ax21:city>
<ax21:street>12345 Pecos Road</ax21:street>
</ax21:address>
<ax21:name>Jeff Doe 0</ax21:name>
</ns:return>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]