K
kackson
Hi.
I created a webservice. I tested it with a simple VBScript (via
Microsoft.XMLHTTP) without problem. That is, I get the response and
data correctly (both when I have the webservice running locally on my
development PC as well as via LAN on another PC across the room). I
then wrote a simple http client using C++. Again I tested. Locally, it
works as before. But, when I have the test performed with the
webservice running on the other LAN PC, I receive the following "401"
error.
HTTP/1.1 401 Access Denied Server: Microsoft-IIS/5.0 Date: Sat, 08 May
2004 18:20:56 GMT WWW-Authenticate: Negotiate WWW-Authenticate: NTLM
WWW-Authenticate: Basic realm="theotherPC" Connection: close
Content-Length: 4395 WWW-Authenticate: Digest qop="auth",
realm="theotherPC", nonce="b4e37b6b4aa016606627112000007f315b16867b829e073c640bf33cc6aa"
Content-Type: text/html
I understand the error. But I dont understand what's the diff. between
the information I sent via vbs and via my http client, and why is it
occurring, and how I could solve it. Could someone please advise?
Thanks a bunch!
I created a webservice. I tested it with a simple VBScript (via
Microsoft.XMLHTTP) without problem. That is, I get the response and
data correctly (both when I have the webservice running locally on my
development PC as well as via LAN on another PC across the room). I
then wrote a simple http client using C++. Again I tested. Locally, it
works as before. But, when I have the test performed with the
webservice running on the other LAN PC, I receive the following "401"
error.
HTTP/1.1 401 Access Denied Server: Microsoft-IIS/5.0 Date: Sat, 08 May
2004 18:20:56 GMT WWW-Authenticate: Negotiate WWW-Authenticate: NTLM
WWW-Authenticate: Basic realm="theotherPC" Connection: close
Content-Length: 4395 WWW-Authenticate: Digest qop="auth",
realm="theotherPC", nonce="b4e37b6b4aa016606627112000007f315b16867b829e073c640bf33cc6aa"
Content-Type: text/html
I understand the error. But I dont understand what's the diff. between
the information I sent via vbs and via my http client, and why is it
occurring, and how I could solve it. Could someone please advise?
Thanks a bunch!