Skip to content

Instantly share code, notes, and snippets.

  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Make a SOAP request via WGET
wget --post-file=soaprequest.xml --header="Content-Type: application/soap+xml" --header="SOAPAction: \"soapaction\"" http://myhost:my_port_number/service/ -O response.xml
soaprequest.xml - contains the soap request (wrapped in SOAP envelop).
http://myhost:my_port_number/service/ - service endoint URL
response.xml - contains a response from the server
Copy link

hi, a question, how do you call with certificate.pem, to use wget same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment