Harrington Web

Soap Requests using CURL

Saturday, April 20, 2013

If you ever need a way to test a webservice from a curl you can make a file of your request XML and call the following command below to get a response.

curl -H "Content-Type: text/xml; charset=utf-8" \
     -H "SOAPAction: " \
     -k\
     -d @file.xml\
     -X POST https://www.webservice-url.com/webservice/