"The request failed with HTTP status 400: Bad Request." when attempting to use a web service

Hi, I'm having a tough time deploying this web service I wrote.  Before I moved it over to the development server I tested the web service locally on my computer using a web portal to talk to the service...  However, now that I've copied it up to the Web Server, it keeps giving me these 400 errors and I can't figure out why.

 Any ideas?

 

 Kyle

0
kylebilenki
10/29/2007 6:16:04 PM
asp.net.xml-web-services 7071 articles. 0 followers. Follow

1 Replies
551 Views

Similar Articles

[PageSpeed] 21

Which web server are you using, 6.0, 7.0....Do you have ASP.NET installed and correctly mapped. Do you have the security set up to allow Web Services. Have you checked your IIS log for any status sub codes.


Chris Love
ASP.NET 2.0 Your Visual Blueprint for developing Web Applications
0
docluv
10/29/2007 9:30:43 PM
Reply:

Similar Artilces:

"The request failed with HTTP status 407: Proxy Authentication Required." and "No Web References were found on this page."
Hi, I need to use the MapPoint .NET Web Servicedevelop a location base application. I am using ..Visual Studio .NET 2002 ..Windows XP Professional. .. IIS 5.1 (tested, working) .. connection to the Internet via the university proxy server. I'm trying to code sample "Click to Center Map". In this sample, the web reference has been added. When I am trying to "Update Web Reference", we got the following error message: "The request failed with HTTP status 407: Proxy Authentication Required." I'm not prompted for authentication from thi...

testing "All Service Ports" gets 400 bad request "page cannot be found"
When I run ZoneAlarm and test "All Service Ports" I get a 400 bad request "page cannot be found", and no results to the test. If I turn off ZoneZlarm, it gives results. Does this mean ZoneAlarm passes the test so well that the results can't even come thru? Thanks Mark "Markss" <comercial@ev1.net> wrote in message news:ciq55a$n45$1@news.grc.com... > When I run ZoneAlarm and test "All Service Ports" I get a 400 bad request > "page cannot be found", and no results to the test. If I turn off > ZoneZlarm, it gives re...

XML Web service returns HTTP 400 Bad Request
I have converted a web service from vb.net 2003 to vb.net 2008. Everything works okay on the my developer PC. I am running Vista Business, VS 2008 Developer Team, IIS7. After copying the compiled files to the web server virtual directory, I am unable to test the service from the web server. At the web server IE, I type in http://localhost/virtual dir name/filename.asmx. This returns the HTTP 400 error. Our web server is running Server 2003 and IIS6. All the other web services (written in .net 2003) that are installed on this same server function correctly. Can anyone explain what I am doing ...

Web app calling Web service error The request failed with HTTP status 401: Unauthorized
I have a web site calling a web service which are both located on the same server.  Integrated windows authentication is being used on both the app and service.    When I start the web app from VS's IDE (code on server), it runs fine displaying "Hello world" and populating the dropdownlist. However, if I browse to the URL in IE, I get the following errorSystem.Net.WebException: The request failed with HTTP status 401: UnauthorizedI output the credentials used in the web app, and they are correct.Why would it run fine through the IDE but not browsing to the u...

Please compare "web service" and "remote services"
Somebody, please tell me the different beetween "web services" and "remote services". So, "web services" and "remote services" which one is better? Please tell me This might provide some insight. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/dotnetremotearch.asp The really question at hand is what kind of project? Frank ...

superreview requested: [Bug 249231] Use only "web site" and "web page" in Firefox : [Attachment 155345] Same as previous with extraneous changes removed
R.J. Keller <rlk@mozdev.org> has asked Ben Goodger <bugs@bengoodger.com> for superreview: Bug 249231: Use only "web site" and "web page" in Firefox http://bugzilla.mozilla.org/show_bug.cgi?id=249231 Attachment 155345: Same as previous with extraneous changes removed http://bugzilla.mozilla.org/attachment.cgi?id=155345&action=edit ------- Additional Comments from R.J. Keller <rlk@mozdev.org> r=rlk@trfenv.com for the help content. Ben, can you review this for 1.0rc1? ...

system.Net.WebException: The request failed with HTTP status 405: Method Not Allowed. Error in Calling Web Service Function
Hello Friends, I am using a web service to get availability information. i have only following url http://webservices.micros.com/ows/5.1/Availability.wsdl I added Web References to the VS 2008 project , then i tried C# proxy class created from wsdl tool But when i am calling any function from code it gives following error system.Net.WebException: The request failed with HTTP status 405: Method Not Allowed. Please check the following page http://go-dev.com/clients/newyorkerhotelTest/reservations.aspx And click the Check Availability Button. Please tell me what...

The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Hello I just installed IIS 5.1 on windwos XP SP2 i am running .Net 2.0.50727I created a virtual directory off of the default site called btb ... when I try and access ASPX pages i get an error message :Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable.  Please hit the "Refresh" button in your web browser to retry your request. Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web s...

"Visual Web Developer Web Server" and Web Services
I like the new "Visual Web Developer Web Server" (Do you want suggestions for a longer name!) but I have an issue with using it to host a Web Service. Whenever the Web Service is recompiled and run it ends up with a different port number. Therefore, it seems that any references to that WS in other applications are invalidated and need to be re-established when it's run again. Is there a way of pinning the port number, or am I missing something? CheersNick Grattan, MSDN Regional Director, Ireland. Software Paths Limited. Hi Nick, the internal server is used for local...

adding web reference, remote web service. "unable to download service.asmx?wsdl"
Hello having a problem with this web service. VS [2005]  The message we get when we try and add the web reference is "unable download following files http://10.0.1.7/codered/service.asmx?wsdl". Which is using the internal ip address of the web server. We have check the IIS where the web service has been published to. But could not see why it is using the internal ip and not the external ip address. The actual url is http://83.100.199.125/codered/service.asmx Here is the service description sample, maybe someone can check this, as this has the internal ip address at the bottom. ...

Programatically build Web Service proxies independent of the "Web Reference" in VS.Net?
Can anyone detail for me how to build a proxy for a webservice from its .wsdl without using a "web reference"? Or point me to a hotw-to somewhere? I assume there is an API for this in the Framework, I just cannot find it... Thanks.Thanks,B You have to use WSDL.eXE you can see info on it @ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfWebServicesDescriptionLanguageToolWsdlexe.asp Hope it helps!Sreedharhttp://www.w3coder.orgweblog http://weblogs.asp.net/skoganti For complete programmatic use of dynamic Web services by simply feedi...

HTTP "Bad Request" error calling DataSnap service over 3G
Hi, I've just discovered an error my DataSnap client is receiving calling a server method when passing a particularly large string as the parameter to the method. The call causes a DBXException error with "Bad Request". My client is running on an Android phone and the error only occurs when using 3G, on Wi-fi everything works fine. Every other call works fine, it's just this call with the large parameter. Is there some restriction on the size of the underlying HTTP call when using 3G networks? My DataSnap server is built with Delphi XE2, I'm using the DataSnap m...

"□" character is not taken by the XML web service in .net framework??
Dear all, I am developing a simple smart device application using XML web services for Oracle database connection with smart devices.In this application I am simply taking the data from the textbox in the mobile,encrypting it & finally sending it to the oracle database using XML web services.i am using .net framework for the whole.But the problem is that as I am trying to send the data to the oracle database after encryption of some strings/characters,one special character "□" is not taken by the XML format in the web service.It is giving error by saying that it is invalid character for...

web service The request failed with HTTP status 401: Unauthorized.
Im getting this error with a web serice ive created.  Im running on my local machine and using windows authentication.  Ive added some code to provide credentials but it still wont work.QAS.AddressVerificationService avs = new QAS.AddressVerificationService();avs.PreAuthenticate = true;avs.Credentials = System.Net.CredentialCache.DefaultCredentials;can anyone shed some light on this ?tiaMark You need to set access rights for the webservice called. see here:http://p2p.wrox.com/topic.asp?TOPIC_ID=47233http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.p...

Web resources about - "The request failed with HTTP status 400: Bad Request." when attempting to use a web service - asp.net.xml-web-services

Facebook Seeks Detailed Information From Users Attempting To Block Or Report Other Users
Facebook continued down the path of seeking more information when users report potentially troublesome situations, following up its dialog box ...

Texas Tribune - "I was attempting to block a bill that... - Facebook
"I was attempting to block a bill that would have harmed thousands of women across the state of Texas,” Davis said of her filibuster. “Never ...

Man Confronts Thief Attempting to Steal his Bike - YouTube
... Watch Queue TV Queue Remove all Disconnect Loading... Watch Queue TV Queue __count__/__total__ Find out why Close Man Confronts Thief Attempting ...

Two arrested attempting to smuggle heroin into the UAE
Two of the 'most active and dangerous' drug smugglers in the UAE were arrested in April in possession of 55 kilograms of heroin by a team of ...

Fidel Castro 'doesn't trust the US' despite Obama's claims rival countries are attempting to reconcile ...
Fidel Castro does not "trust the US, nor have I spoken with them," the revolutionary icon, 88, said in a letter attributed to him and read out ...

Eight teenage girls arrested after attempting to rob woman in Shellharbour
Eight teenage girls have been arrested after a 19-year-old woman was threatened with a knife at a bus stop in the NSW Illawarra region.

Eight teenage girls arrested after attempting to rob woman in Shellharbour
Eight teenage girls have been arrested after a 19-year-old woman was threatened with a knife at a bus stop in the NSW Illawarra region.

New York news anchor arrested for attempting to choke his wife
A NEW York TV news anchor has been arrested for allegedly attempting to strangle his wife.

Abbott, Attempting To Order Coffee, Declares The Boats Have Stopped.
Prime Minister Tony Abbott has been at the forefront of a ruckus this morning during an incident in which Mr. Abbott was attempting to order ...

MP doubts Tony Abbott would be attempting to nobble Speaker Bronwyn ...
Sydney Morning Herald MP doubts Tony Abbott would be attempting to nobble Speaker Bronwyn ... Sydney Morning Herald PM forced to kill off ...

Resources last updated: 1/17/2016 4:39:18 AM