AnsweredAssumed Answered

How to read XML values enclosed b/w ".." and ".."" returned from WS call?

Question asked by karthik.narasimhamurthy129685 on Aug 3, 2016
Latest reply on Aug 3, 2016 by Srinivas Chandrakanth Vangari


WebService call returns huge amount of data. Few of them will be of the form "....." , few of them can be empty as well like, "" and few of them "...."". So in such a scenario how to read the values?

 

ex:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

   <soap:Header>

.............................

      /soap:Header>

   <soap:Body>

      <RetrieveResponse xmlns=".......................">

         <RetrieveResult xmlns="....................................">

            <Object Column1="" Column2="" Column3=""  Column4="1.000000""

  Column5="0.00" Column6="false" Column7="U.S. Dollar" Column8="USD"" >

            </Object>

         </RetrieveResult>

      </RetrieveResponse>

   </soap:Body>

</soap:Envelope

Outcomes