I use curl to send a SOAP request to a web service and get a response using shell scripts. please find below the command i am using: -
curl -H "Content-Type: text/xml; charset=utf-8" -H "SOAPAction:" -d @sample_request.txt -X POST http:
I get an error that does not have a SOAPAction header. PFB body part response
<soapenv:Body> <soapenv:Fault> <faultcode>Client.NoSOAPAction</faultcode> <faultstring>WSWS3147E: Error: no SOAPAction header!</faultstring> </soapenv:Fault> </soapenv:Body>
Any help is appreciated!
Parameswar
source share