Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You need to supply the <a href="http://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383528" rel="noreferrer"><code>SOAPAction</code> as a HTTP header</a>, not a SOAP header. Here is how a complete request might look like when performed with SoapUI (notice the forth row):</p> <pre><code>POST /8223third_17/webservices/ItfResidentData.asmx HTTP/1.1 Accept-Encoding: gzip,deflate Content-Type: text/xml;charset=UTF-8 SOAPAction: "http://tempuri.org/YSI.Interfaces.WebServices/ItfResidentData/GetVersionNumber" User-Agent: Jakarta Commons-HttpClient/3.1 Host: www.iyardiasp.com Content-Length: 260 &lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:itf="http://tempuri.org/YSI.Interfaces.WebServices/ItfResidentData"&gt; &lt;soapenv:Body&gt; &lt;itf:GetVersionNumber/&gt; &lt;/soapenv:Body&gt; &lt;/soapenv:Envelope&gt; </code></pre> <p>For <code>curl</code> you might use the <a href="http://curl.haxx.se/docs/manpage.html#-H" rel="noreferrer"><code>-H</code></a> parameter to send the <code>SOAPAction</code> header but I suggest you <a href="http://www.soapui.org/About-SoapUI/what-is-soapui.html" rel="noreferrer">use SoapUI</a> for your preliminary consumption (it includes the <code>SOAPAction</code> header by default and beats the console any day).</p> <p>If you do need to use <code>curl</code>, try something like this (all must be on one line; separated for readability):</p> <pre><code>curl -H "Content-Type: text/xml;charset=UTF-8" -H "SOAPAction: \"http://tempuri.org/YSI.Interfaces.WebServices/ItfResidentData/GetVersionNumber\"" -d @GetVersionNumber.xml https://www.iyardiasp.com/8223third_17/webservices/ItfResidentData.asmx </code></pre> <p>with this in the <code>GetVersionNumber.xml</code> file:</p> <pre><code>&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:itf="http://tempuri.org/YSI.Interfaces.WebServices/ItfResidentData"&gt; &lt;soapenv:Body&gt; &lt;itf:GetVersionNumber/&gt; &lt;/soapenv:Body&gt; &lt;/soapenv:Envelope&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

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