curl
to submit a soap file to a URL.curl -H "Content-Type: text/xml; charset=utf-8" \
-H "SOAPAction:" \
-d @soap.txt \
-X POST http://localhost:18181/httpWSDLService/httpWSDLPort
where the
@
specifies a file as input and soap.txt
is the file.
3 comments:
Just what I was looking for, great!
Used it on the example provided by the w3 (http://www.w3schools.com/webservices/tempconvert.asmx?op=CelsiusToFahrenheit) and it worked like a charm.
For the same solution, but on Windows using powershell, you can visit this post: http://rambletech.wordpress.com/2011/09/21/posting-soap-request-from-windows-powershell/
Nice comments. Thank You!
STC Technologies
Post a Comment