J
JockeB
Hi!
I am trying to call a web service located on our Intranet but keep getting:
"Server was unable to process request. --> The request failed with HTTP
status 400: Bad Request."
Previously the same web service was located outside our intranet at a
supplier building a solution for us. I had no problem calling the web service
using basic authentication and supplying CredentialCache.DefaultCredentials
to our proxy.
We have now received a test version of the system and installed it on one of
our own servers (using Windows 2003 and integrated authentication). No matter
what I do I keep getting:
"Server was unable to process request. --> The request failed with HTTP
status 400: Bad Request."
Sample code (for creating the web service):
CodeService proxy = new CodeService();
GlobalProxySelection.Select.Credentials = CredentialCache.DefaultCredentials;
proxy.Credentials = CredentialCache.DefaultCredentials;
proxy.PreAuthenticate = true;
proxy.InsertCode([string], [string], [string], [bool]);
I have also tried calling the web service locally on the server with the
same results.
Anyone have any suggestions on how to solve this?
I am trying to call a web service located on our Intranet but keep getting:
"Server was unable to process request. --> The request failed with HTTP
status 400: Bad Request."
Previously the same web service was located outside our intranet at a
supplier building a solution for us. I had no problem calling the web service
using basic authentication and supplying CredentialCache.DefaultCredentials
to our proxy.
We have now received a test version of the system and installed it on one of
our own servers (using Windows 2003 and integrated authentication). No matter
what I do I keep getting:
"Server was unable to process request. --> The request failed with HTTP
status 400: Bad Request."
Sample code (for creating the web service):
CodeService proxy = new CodeService();
GlobalProxySelection.Select.Credentials = CredentialCache.DefaultCredentials;
proxy.Credentials = CredentialCache.DefaultCredentials;
proxy.PreAuthenticate = true;
proxy.InsertCode([string], [string], [string], [bool]);
I have also tried calling the web service locally on the server with the
same results.
Anyone have any suggestions on how to solve this?