cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

No SOAPAction Header

From: Robert Archer <cmsrarc1_at_hotmail.com>
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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET