Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>A webservice request is still a basic POST method, and some accept GET.</p> <p>Open the WSDL (if its a MS service, e.g. ends with .asmx) and this will show examples of the request packet...</p> <p><a href="http://www.w3schools.com/webservices/tempconvert.asmx?op=CelsiusToFahrenheit" rel="nofollow noreferrer">http://www.w3schools.com/webservices/tempconvert.asmx?op=CelsiusToFahrenheit</a></p> <p>====================================</p> <pre><code>HTTP POST The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values. POST /webservices/tempconvert.asmx/CelsiusToFahrenheit HTTP/1.1 Host: www.w3schools.com Content-Type: application/x-www-form-urlencoded Content-Length: length Celsius=string HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;string xmlns="http://tempuri.org/"&gt;string&lt;/string&gt; </code></pre> <p>=================================</p> <p>HEADER POST /webservices/tempconvert.asmx/CelsiusToFahrenheit HTTP/1.1 Host: www.w3schools.com Content-Type: application/x-www-form-urlencoded Content-Length: length</p> <p>BODY string</p> <p>Therefore the body is "string=32"</p> <p>HttpClient will do...</p> <p>Also see : - <a href="https://stackoverflow.com/questions/2559948/android-sending-xml-via-http-post-soap">Android, sending XML via HTTP POST (SOAP)</a></p> <p>You could also try KSOAP, however you !could! be embarking on a world of pain, I never really made friends with it....</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