This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes How to remove extra Namespaces in response Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to remove extra Namespaces in response" Watch "How to remove extra Namespaces in response" New topic
Author

How to remove extra Namespaces in response

Angshu Man
Greenhorn

Joined: Apr 24, 2012
Posts: 1
I am using Axis client to send xml request to the web service but in the response i am getting unnecessary namespaces/prefixes. How to remove them ? Please help.
Anurag Verma
Ranch Hand

Joined: Mar 30, 2012
Posts: 124

This can be fixed from server end, not client end. Can you post your wsdl & xsd? just the part where messages & operations & types for your request are defined..?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to remove extra Namespaces in response
 
Similar Threads
What are namespaces?
Specify namespaces in mapping file
How to Declare Namespace in DTD
Explanation about Namespaces
converting DTD to schema