logo       

Help! "Server did not recognize the value of HTTP header SOAPAction:": msg#00083

php.nusoap.general

Subject: Help! "Server did not recognize the value of HTTP header SOAPAction:"

Hi there,

I am very frustrated with this "Server did not
recognize the value of HTTP header SOAPAction:"
problem I have been getting when using an nuSOAP
client with a .NET SOAP server.

I am looking at the Request generated by the nuSOAP
client and the SOAPAction variable is always "" .
Here's the Request from the nuSOAP client :

POST /AsteriskControlService.asmx?wsdl HTTP/1.0
Host: jimb-dev.cs.uiuc.edu:8080
User-Agent: NuSOAP/0.6.9 (1.86)
Content-Type: text/xml; charset=ISO-8859-1
SOAPAction: ""
Content-Length: 705

<?xml version="1.0"
encoding="ISO-8859-1"?><SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:si="http://soapinterop.org/xsd";><SOAP-ENV:Body><ns4704:DialExternalNumber
xmlns:ns4704="http://tempuri.org";><webSecret
xsi:type="xsd:string">simple</webSecret><accountName
xsi:type="xsd:string">ianyap</accountName><outsidenumber
xsi:type="xsd:string">12177213983&lt;/b&gt;
</outsidenumber></ns4704:DialExternalNumber></SOAP-ENV:Body></SOAP-ENV:Envelope>

I am trying to invoke a DialExternalNumber function on
the .NET SOAP server, and the wsdl file is at :

http://jimb-dev.cs.uiuc.edu:8080/AsteriskControlService.asmx?wsdl

Can someone please tell me how to fill in that
SOAPAction variable for the client? I did look at the
sample client at the official nuSOAP page at
http://www.scottnichol.com/nusoapprog.htm where the
SOAPAction value is passed in as one of the parameters
for the SOAP function, but it still doesn't work for
me. The SOAPAction is still ""

Thanks in Advance!

Yours Sincerely
Ian
SOAP newb



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise