aspose file tools*
The moose likes XML and Related Technologies and the fly likes Identifying namespace in a SOAP response. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Identifying namespace in a SOAP response." Watch "Identifying namespace in a SOAP response." New topic
Author

Identifying namespace in a SOAP response.

Buvanesh Thirunavukarasu
Greenhorn

Joined: Feb 04, 2012
Posts: 1
I am newly working on the SOAP technology. I got a requirement to identify the namespace from a SOAP response. The SOAP response is a xml file with all tags beginning with a namespace which is actually defined within the file. But i couldn't able to identify which one is the actual namespace as there is multiple definitions of 'xmlns' in the SOAP-ENV body of the file. so i want some one to help me out where exactly should i look for namespace that is used in the SOAP response to mention the details of it.

kindly help me out..

Thanks..
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18675
    
    8

That's a bit unclear. You can't ask for "the namespace of the SOAP response"; it's individual elements and attributes which have namespaces. And as you might guess from the fact that there are multiple namespace declarations in the response (that was one thing which you did say), it's quite likely that different elements have different namespaces.

So show us an example and tell us exactly which elements you need to know the namespaces of.
 
Consider Paul's rocket mass heater.
 
subject: Identifying namespace in a SOAP response.