Help calling web service on intranet

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?
 
J

JockeB

I can understand if it was hard for you to suggest anything in this case :)
The case is solved.

It turned out that the web service i called used another (local) web service
which had to be configured correctly (still need to investigate this with my
supplier, should have been done during installation by my supplier) to make
my call possible.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,125
Latest member
VinayKumar Nevatia_
Top