Ian Yap
2005-04-25 02:47:56 UTC
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</b>
</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
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</b>
</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