File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Namespace using Axis Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Namespace using Axis" Watch "Namespace using Axis" New topic

Namespace using Axis

Harish Tam
Ranch Hand

Joined: Feb 17, 2005
Posts: 71


Can anybody tell me how to preserve the namespaces of the xml document when getting it using a Web service. I am using Axis Web service, and using a web service I download a document from the server which has all the xml document in one database.


SCJP 1.4, SCWCD 1.4
Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
can you please explain cleary what have you implemented till now ? Did you look at AXIS support for message style web services ?

RR Kumaran
SCJP 1.4
Harish Tam
Ranch Hand

Joined: Feb 17, 2005
Posts: 71


Here is the situation, I have written a web service that returns a W3c document from the server, now the namespace of the document on the server is say uri:something1/ns1


Now when I retrieve the document using the web service call the namespace of the document gets changed, I think this is done by axis , and I want to preserve the namespace of the original document.

Balaji Loganathan
author and deputy

Joined: Jul 13, 2001
Posts: 3150
Hi Harish,

May I ask you to take a minute for editing your display name so that it complies with our naming policy (to have firstname and lastname)?

I agree. Here's the link:
subject: Namespace using Axis
It's not a secret anymore!