Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sergnechaev/2022feebc2988a51e195a624a387a641 to your computer and use it in GitHub Desktop.
Save sergnechaev/2022feebc2988a51e195a624a387a641 to your computer and use it in GitHub Desktop.
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/great.do -O response.xml
Where:
soaprequest.xml - contains the soap request (wrapped in SOAP envelop).
http://myhost:my_port_number/service/great.do - service endoint URL
response.xml - contains a response from the server
@habolanos
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