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:29:24 UTC
[jira] Created: (AXIS2-3656) Missing namespace in SOAP response
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
RE: [jira] Updated: (AXIS2-3656) Missing namespace in SOAP response
Posted by Martin Gainty <mg...@hotmail.com>.
Hi Nate-
from what i've seen this is specific to Axis 1.3 or Axis 1.4
where server-config.wsdd contains
<?xml version="1.0" encoding="UTF-8"?><deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <globalConfiguration>
<parameter name="sendXMLDeclaration" value="true"/>HTH
Martin-______________________________________________Disclaimer and confidentiality noteEverything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not nec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TZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTurn>> > 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>
_________________________________________________________________
Windows Live Hotmail is giving away Zunes.
http://www.windowslive-hotmail.com/ZuneADay/?locale=en-US&ocid=TXT_TAGLM_Mobile_Zune_V3
[jira] Updated: (AXIS2-3656) Missing namespace in SOAP response
Posted by "Nate Roe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nate Roe updated AXIS2-3656:
----------------------------
Affects Version/s: 1.3
I set the component to Unknown and the affected version to 1.3.
> 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
> Affects Versions: 1.3
> 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
[jira] Commented: (AXIS2-3656) Missing namespace in SOAP response
Posted by "nadir amra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588087#action_12588087 ]
nadir amra commented on AXIS2-3656:
-----------------------------------
Does anyone know whether this is fixed in the nightly builds? This seems to be a show-stopper, no?
> 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
> Affects Versions: 1.3
> 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
[jira] Updated: (AXIS2-3656) Missing namespace in SOAP response
Posted by "Nate Roe (JIRA)" <ji...@apache.org>.
[ 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
[jira] Assigned: (AXIS2-3656) Missing namespace in SOAP response
Posted by "nadir amra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nadir amra reassigned AXIS2-3656:
---------------------------------
Assignee: nadir amra
> 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
> Affects Versions: 1.3
> Environment: Axis2 v1.3 on JBossAS v4.0.5 running on Java 1.6.0_03. Windows XP.
> Reporter: Nate Roe
> Assignee: nadir amra
> 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
[jira] Closed: (AXIS2-3656) Missing namespace in SOAP response
Posted by "nadir amra (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nadir amra closed AXIS2-3656.
-----------------------------
Resolution: Fixed
Fix Version/s: nightly
Fixed in committed revision 652990
> 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
> Affects Versions: 1.3
> Environment: Axis2 v1.3 on JBossAS v4.0.5 running on Java 1.6.0_03. Windows XP.
> Reporter: Nate Roe
> Assignee: nadir amra
> Fix For: nightly
>
> 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