Soap Requests using CURL

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/