You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Nate Roe (JIRA)" <ji...@apache.org> on 2008/03/25 19:31:24 UTC

[jira] Updated: (AXIS2-3656) Missing namespace in SOAP response

     [ https://issues.apache.org/jira/browse/AXIS2-3656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nate Roe updated AXIS2-3656:
----------------------------

    Attachment: PersonExpample.zip

I have attached the simple project that I used to recreate this issue.

> 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
>         Attachments: PersonExpample.zip
>
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org