wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Namespace using Axis" Watch "Namespace using Axis" New topic
Author

Namespace using Axis

Harish Tam
Ranch Hand

Joined: Feb 17, 2005
Posts: 71

Hello,

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.

Regards
Harish


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

Hello,

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

<ns1:element>
<ns1:element2>
<ns1:element3>
<ns1:element4>

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.

Regards
Harish
Balaji Loganathan
author and deputy
Bartender

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)?

Thanks
Balaji
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Namespace using Axis
 
Similar Threads
Documenta based web services
General Document Style Validation Questions
Request handling in Axis1.4
Run Servlet on deployment
Apache Axis wsdl2java tool