axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nate Roe (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-3656) Missing namespace in SOAP response
Date Tue, 25 Mar 2008 18:31:24 GMT

     [ 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


Mime
View raw message