Forum Discussion
simmosimmo
15 years agoNew Contributor
Hi,
Thanks for your reply. Yes, I added in credientials into the request.
Raw request is :
POST http://localhost:7047/DynamicsNAV/WS/SystemService HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "urn:microsoft-dynamics-schemas/nav/system/:Companies"
User-Agent: Jakarta Commons-HttpClient/3.1
Content-Length: 232
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAFgAAAAAAAAAcAAAAAYABgBAAAAACQAJAEYAAAAJAAkATwAAAAAAAABwAAAABlIAAEdMT0JBTFNJTU1PTkRTVExPQ0FMSE9TVArqJjXiB1Y6l5vXEO/+9lfmCY2hCUDQrQ==
Host: localhost:7047
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sys="urn:microsoft-dynamics-schemas/nav/system/">
<soapenv:Header/>
<soapenv:Body>
<sys:Companies/>
</soapenv:Body>
</soapenv:Envelope>
Raw Response is :
HTTP/1.1 500 Internal Server Error
Content-Length: 394
Content-Type: text/xml; charset=utf-8
Server: Microsoft-HTTPAPI/2.0
Date: Thu, 02 Jun 2011 10:42:36 GMT
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">a:System.Net.WebException</faultcode><faultstring xml:lang="en-GB">Soap message is invalid!</faultstring><detail><string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Soap message is invalid!</string></detail></s:Fault></s:Body></s:Envelope>
Many thanks for any further insight into what the 500 error might be.
cheers...
Thanks for your reply. Yes, I added in credientials into the request.
Raw request is :
POST http://localhost:7047/DynamicsNAV/WS/SystemService HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "urn:microsoft-dynamics-schemas/nav/system/:Companies"
User-Agent: Jakarta Commons-HttpClient/3.1
Content-Length: 232
Authorization: NTLM TlRMTVNTUAADAAAAGAAYAFgAAAAAAAAAcAAAAAYABgBAAAAACQAJAEYAAAAJAAkATwAAAAAAAABwAAAABlIAAEdMT0JBTFNJTU1PTkRTVExPQ0FMSE9TVArqJjXiB1Y6l5vXEO/+9lfmCY2hCUDQrQ==
Host: localhost:7047
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sys="urn:microsoft-dynamics-schemas/nav/system/">
<soapenv:Header/>
<soapenv:Body>
<sys:Companies/>
</soapenv:Body>
</soapenv:Envelope>
Raw Response is :
HTTP/1.1 500 Internal Server Error
Content-Length: 394
Content-Type: text/xml; charset=utf-8
Server: Microsoft-HTTPAPI/2.0
Date: Thu, 02 Jun 2011 10:42:36 GMT
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">a:System.Net.WebException</faultcode><faultstring xml:lang="en-GB">Soap message is invalid!</faultstring><detail><string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">Soap message is invalid!</string></detail></s:Fault></s:Body></s:Envelope>
Many thanks for any further insight into what the 500 error might be.
cheers...