curl-users
No SOAPAction Header
Date: Tue, 15 Aug 2006 16:02:42 +0000
I've just started testing using cURL to do a client SOAP call to a web
service and am having trouble composing the correct command line !!!!
Working on windows XP talking to an Apache Axis server.
The command line I've got is :-
c:\curl-7.15.4\curl.exe -d "c:\test.xml" -H "Content-Type: text/xml" -u
username:password http://webservice.com/service/
But am getting the following error :-
<soapenv:Body>
<soapenv:Fault>
<faultcode
xmlns:ns1="http://xml.apache.org/axis/">ns1:Client.NoSOAPAction</faultcode>
<faultstring>no SOAPAction header!</faultstring>
<detail>
<ns2:hostname
xmlns:ns2="http://xml.apache.org/axis/">TCYTDS007</ns2:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Can anybody help me out !!!!!
Cheers,
Rob
Received on 2006-08-15