Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88835

How can i capture a tag value in Soap response in SoapUI, and write it in Excel

$
0
0

I have used POI to read from Excel, Now im trying to capture the response and write it back on Excel, here is the Code

<AtomicWeight>1.00797</AtomicWeight>

i want to take 1.00797 from respond write it in excel. But this tag is not exist in request. is there any way i can achieve that?

//Response Message


<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <GetAtomicWeightResponse xmlns="http://www.webserviceX.NET">
         <GetAtomicWeightResult><![CDATA[<NewDataSet>
  <Table>
 // want to capture this value(1.00797) and write it in excel
   <AtomicWeight>1.00797</AtomicWeight>
  </Table>
</NewDataSet>]]></GetAtomicWeightResult>
      </GetAtomicWeightResponse>
   </soap:Body>
</soap:Envelope>

Viewing all articles
Browse latest Browse all 88835


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>