Web Services

Using curl to submit/test a web services request with ws binding:

curl -k -D - -H "Host: <host>" --http1.1 - H "Content-Type: application/soap+xml; charset=utf-8" https://<domain>/<service> -X POST -d @<pre-prepared request>

Using curl to submit/test a web services request with basic binding:

curl -D - -k https://<domain>/<service>.svc -H "Content-Type: text/xml; charset=utf-8" -H 'SOAPAction: "http://<namespace>/<interface>/<method>"' -X POST -d "@<pre-prepared request>.txt" --cert <client-cert>.cer --key <client-cert>.key