.NET Framework Bookmark and Share   
 index > ASMX Web Services and XML Serialization > HTTP /1.1 400 Bad Request during SOAP call to web service, why?
 

HTTP /1.1 400 Bad Request during SOAP call to web service, why?

Hi,

While Icall myweb service usingSOAP,I got the following annoying error:
HTTP/1.1 400 Bad Request
X-AspNet-Version: 2.0.50727
Date: Sat, 13 Dec 2008 01:46:33 GMT
Content-Length: 0
Connection: Close
Server: ASP.NET Development Server/8.0.0.0
Cache-Control: private

Why?

Thanks,
Joe
LAScorpion
Hi!

Well, since it worked on another server (site) I can only asume that your server (site) was not configured corectly. I do not think there is a bug in Visual Studio.

Please revise your web server settings. Here is what a Bad Request mean, and maybe a resolution for your problem:http://support.microsoft.com/kb/247249

Regards,
Lucian Baciu, MCTS, http://studentclub.ro/lucians_weblog
naicul
I am using Visual Stuio Publish function, or debugfunction.
My colleague copied the website to another site, it worked, WHY? Visual Stuido's bug?
LAScorpion
It seems more likely to be your bug than a .NET bug, given that .NET has been doing web services a lot longer than you have.

Still, if you are certain that you have found a bug, then you should report it at http://connect.microsoft.com/visualstudio/.
John Saunders | Use File->New Project to create Web Service Projects
John Saunders
Hi!

Well, since it worked on another server (site) I can only asume that your server (site) was not configured corectly. I do not think there is a bug in Visual Studio.

Please revise your web server settings. Here is what a Bad Request mean, and maybe a resolution for your problem:http://support.microsoft.com/kb/247249

Regards,
Lucian Baciu, MCTS, http://studentclub.ro/lucians_weblog
naicul

You can use google to search for other answers

Custom Search

More Threads

• How to convert XML Special Characters to string
• How will the client come to know about the WSE settings used by service at server ??
• Problem in Consuming java web service in .Net application.
• Aspx pages on Vista's Local IIS display as text or directory listing
• Setting output caching programmatically
• SoapExtension can NOT be hooked into the WebService Server Side
• Serializing XmlAttributes as XmlNodes - Server side
• X509 Certificate GetKeyIdentifier Methods
• Soap tool kit
• Using web service to access sharepoint site.