Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2005

Tip: Looking for answers? Try searching our database.

Help calling web service on intranet

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JockeB - 29 Nov 2005 15:30 GMT
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?
Signature

/JockeB - Developer

JockeB - 29 Nov 2005 16:18 GMT
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.
Signature

/JockeB - Developer

> Hi!
>
[quoted text clipped - 28 lines]
>
> Anyone have any suggestions on how to solve this?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.