How to do a SOAP wsdl web services call from the command line

It’s a standard, ordinary SOAP web service. SSH has nothing to do here. I just called it with curl (one-liner): $ curl -X POST -H “Content-Type: text/xml” \ -H ‘SOAPAction: “http://api.eyeblaster.com/IAuthenticationService/ClientLogin”‘ \ –data-binary @request.xml \ https://sandbox.mediamind.com/Eyeblaster.MediaMind.API/V2/AuthenticationService.svc Where request.xml file has the following contents: <soapenv:Envelope xmlns:soapenv=”http://schemas.xmlsoap.org/soap/envelope/” xmlns:api=”http://api.eyeblaster.com/”> <soapenv:Header/> <soapenv:Body> <api:ClientLogin> <api:username>user</api:username> <api:password>password</api:password> <api:applicationKey>key</api:applicationKey> </api:ClientLogin> </soapenv:Body> </soapenv:Envelope> … Read more

I am confused about SOAP namespaces

It is related to the SOAP version. SOAP 1.2 uses http://www.w3.org/2003/05/soap-envelope for the namespace and SOAP 1.1 uses http://schemas.xmlsoap.org/soap/envelope/. For reference, see http://www.w3.org/TR/soap/ and look at the envelope section in the different version specs. Also, you can browse to each of those envelope URLs and check the version number to see exactly which version of … Read more