This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Web Services and the fly likes Prefixes on responses from Websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Prefixes on responses from Websphere" Watch "Prefixes on responses from Websphere" New topic
Author

Prefixes on responses from Websphere

M Rama
Ranch Hand

Joined: Mar 04, 2005
Posts: 91
I have a service running on Websphere which changes the prefixes when sending responses.

I am expecting this in the response
<a:XYZ namespace="http://schema">
...
</a:XYZ>

but am getting this
<ns1:XYZ namespace="http://schema">
...
</ns1:XYZ>


I understand that technically these are the same, but the folks who have the client can't process the later.

Is there anyway to force websphere to keep the prefixes in the schema while sending responses?



 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Prefixes on responses from Websphere