|
|
|
Forum Member
Group: Forum Members
Last Login: 6/21/2008 7:12:08 PM
Posts: 1,
Visits: 1
|
|
Can someone clue me in to why this header (SOAPAction) is not being accepted or if that is really the cause of this error? Below is the Request and Response, I have removed the SOAPAction header and I then get another error saying it is required. Thanks, also, I have used this library with other implemenations on other API's without catch so I am confused as to why the request is being rejected.
Request
POST /ngws/svc/Folder.asmx HTTP/1.0
Host: services.newsgator.com
User-Agent: NuSOAP/0.7.3 (1.114)
Content-Type: text/xml; charset=ISO-8859-1
SOAPAction: "https://services.newsgator.com/ngws/svc/Folder.asmx/GetFolders"
Authorization: Basic removedforsecurity
Content-Length: 481
<?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/"><SOAP-ENV:Body><ns6036:GetFolders xmlns:ns6036="http://services.newsgator.com"></ns6036:GetFolders></SOAP-ENV:Body></SOAP-ENV:Envelope>
Response
HTTP/1.1 500 Internal Server Error
Date: Sun, 22 Jun 2008 01:01:50 GMT
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Content-Length: 467
<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>Server did not recognize the value of HTTP Header SOAPAction: https://services.newsgator.com/ngws/svc/Folder.asmx/GetFolders.</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>
|
|
|
|