Note that there are some explanatory texts on larger screens.

plurals
  1. POConsuming SOAP response in vb.net
    text
    copied!<p>I'm having problems getting data out of the soap response. The request works fine, but I just can't get data out. Here is the soap response (from soapui):</p> <pre><code> &lt;SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"&gt; &lt;SOAP:Header/&gt; &lt;SOAP:Body&gt; &lt;createOrderResponse&gt; &lt;SAP_ORDER_NR/&gt; &lt;ORDER_STATUS&gt;E&lt;/ORDER_STATUS&gt; &lt;TOTAL_GOODS_VALUE&gt;0&lt;/TOTAL_GOODS_VALUE&gt; &lt;TOTAL_FREIGHT_VALUE&gt;0&lt;/TOTAL_FREIGHT_VALUE&gt; &lt;TOTAL_VAT_VALUE&gt;0&lt;/TOTAL_VAT_VALUE&gt; &lt;CASH_DISCOUNT&gt;0&lt;/CASH_DISCOUNT&gt; &lt;ERROR_DESCR&gt;multiple issues found&lt;/ERROR_DESCR&gt; &lt;MIN_ORDER_VALUE/&gt; &lt;ORDER_SCHEDULES_OUT/&gt; &lt;RETURN&gt; &lt;item&gt; &lt;TYPE&gt;E&lt;/TYPE&gt; &lt;ID&gt;VP&lt;/ID&gt; &lt;NUMBER&gt;200&lt;/NUMBER&gt; &lt;MESSAGE&gt;&lt;/MESSAGE&gt; &lt;MESSAGE_V1&gt;&lt;/MESSAGE_V1&gt; &lt;/item&gt; &lt;item&gt; &lt;TYPE&gt;E&lt;/TYPE&gt; &lt;ID&gt;V4&lt;/ID&gt; &lt;NUMBER&gt;&lt;/NUMBER&gt; &lt;MESSAGE&gt;&lt;/MESSAGE&gt; &lt;MESSAGE_V1/&gt; &lt;/item&gt; &lt;/RETURN&gt; &lt;/createOrderResponse&gt; &lt;/SOAP:Body&gt; &lt;/SOAP:Envelope&gt; </code></pre> <p>I need for example the SAP_ORDER_NR value. alreay tried:</p> <pre><code>Convert.ToString(Response_1Run.SAP_ORDER_NR) Response_1Run.SAP_ORDER_NR.tostring() </code></pre> <p>they all give "System.Object" as string.</p> <p>update: screenshots <img src="https://i.stack.imgur.com/ynpxx.png" alt=""></p> <p><img src="https://i.stack.imgur.com/CWCGU.png" alt="enter image description here"></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