• Manu Tej 9
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
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">
   <soapenv:Body>
      <ns0:Query_ServiceResponse xmlns:ns0="urn:ABC_XYX_RE_Interface_Modify_WS">
         <ns0:Assigned_Group>SFDC-SALESFORCE-CRM</ns0:Assigned_Group>
         <ns0:Assigned_Shift_Name />
         <ns0:Assigned_Support>My SOFT</ns0:Assigned_Support_Company>
         <ns0:Assigned_Organization>ITSM</ns0:Assigned_Support_Organization>
      </ns0:Query_ServiceResponse>
   </soapenv:Body>
</soapenv:Envelope>

Thanks in advance
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">
   <soapenv:Body>
      <ns0:Query_ServiceResponse xmlns:ns0="urn:ABC_XYX_RE_Interface_Modify_WS">
         <ns0:Assigned_Group>SFDC-SALESFORCE-CRM</ns0:Assigned_Group>
         <ns0:Assigned_Shift_Name />
         <ns0:Assigned_Support>My SOFT</ns0:Assigned_Support_Company>
         <ns0:Assigned_Organization>ITSM</ns0:Assigned_Support_Organization>
      </ns0:Query_ServiceResponse>
   </soapenv:Body>
</soapenv:Envelope>

Thanks in advance