Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to parse this soap response
    text
    copied!<p>I'm using the an API, and I get this kind of response:</p> <pre><code>&lt;env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'&gt; &lt;env:Header&gt; &lt;/env:Header&gt; &lt;env:Body&gt; &lt;ns1:processRequestResponse xmlns:ns1='ejb.store.microsoft.com'&gt; &lt;result&gt; &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;CRMMessage language="en_US" currency="USD" isTrustedSAT="false" hostversion="1.00"&gt;&lt;RequestCode&gt;GetCustomer&lt;/RequestCode&gt;&lt;ResponseCode&gt;A&lt;/ResponseCode&gt;&lt;ResultSet&gt;&lt;ResultSetMetaData&gt;&lt;RSColumn name="PrimaryPOSRef" type="string" nullable="true"&gt;&lt;/RSColumn&gt;&lt;RSColumn name="FirstName" type="string" nullable="true"&gt;&lt;/RSColumn&gt;&lt;RSColumn name="LastName" type="string" nullable="true"&gt;&lt;/RSColumn&gt;&lt;RSColumn name="EmailAddress" type="string" nullable="true"&gt;&lt;/RSColumn&gt;&lt;RSColumn name="MobilePhoneNumber" type="string" nullable="true"&gt;&lt;/RSColumn&gt;&lt;RSColumn name="Gender" type="string" nullable="true"&gt;&lt;/RSColumn&gt;&lt;RSColumn name="PostalCode" type="string" nullable="true"&gt;&lt;/RSColumn&gt;&lt;RSColumn name="PMACode" type="string" nullable="true"&gt;&lt;/RSColumn&gt;&lt;/ResultSetMetaData&gt;&lt;Rows&gt;&lt;Row id="11551"&gt;&lt;Col&gt;0331200000000058&lt;/Col&gt;&lt;Col&gt;test&lt;/Col&gt;&lt;Col&gt;Test&lt;/Col&gt;&lt;Col&gt;test@test.com&lt;/Col&gt;&lt;Col&gt;0412345678&lt;/Col&gt;&lt;Col&gt;M&lt;/Col&gt;&lt;Col&gt;2000&lt;/Col&gt;&lt;Col&gt;test&lt;/Col&gt;&lt;/Row&gt;&lt;/Rows&gt;&lt;/ResultSet&gt;&lt;/CRMMessage&gt; &lt;/result&gt; &lt;/ns1:processRequestResponse&gt; &lt;/env:Body&gt; &lt;/env:Envelope&gt; </code></pre> <p>what useful is the section between</p> <pre><code>&lt;result&gt;&lt;/result&gt; </code></pre> <p>How can I parse this XML ?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload