+ Start a Discussion
Manu Tej 9Manu Tej 9 

XML Parsing

Hi all,

I am receiving the following XML response. Can someone help me to parse this response and get the value of "Assigned_Organization" inside the xml.

I dont know how to get the value of ns0: elements in below XML. 

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <ns0:Query_ServiceResponse xmlns:ns0="urn:ABC_XYX_RE_Interface_Modify_WS">
         <ns0:Assigned_Shift_Name />
         <ns0:Assigned_Support>My SOFT</ns0:Assigned_Support_Company>

Thanks in advance
atla satheeshkumaratla satheeshkumar
Hi Manu Tez,

Refer below documnet.
Satish atla
Hi Manu,
I think your responce is modified and posted here as your tags are mismatching with ending tag .
Please modify and post so that we can giv esolution to it .
Manu Tej 9Manu Tej 9
Hi all,

Thank you for your reply. the actual problem was in response received. The response that I am receiving is not loaded correctly into the document class. I think that ns0 attribute is giving the problem. When this attribute is coming, the XML breaking there and added to new line. I dont know what exactly the problem is.
User-added image

Hi Manu,
Which webservice you are using ,If have any contact to teh vendor so that they can modify if they have any issue .