405 method not allowed when calling ASP web service

Posted on 2005-03-17
Medium Priority
Last Modified: 2008-01-09
I have an application that runs fine on my development machine locally that consists of a web service and a client application calling the web service.

When I move the client portion to another machine and use my dev machine (Windows XP Pro SP2, IIS 5.1) for the web service I get an error on the client app stating
"405 method not allowed" when attempting to call the web service.

I can pull up the web service web page and test it fine from the client machine, but when I run the client application I get this error.

I've searched for many fixes and already added POST and GET configs to the web.config file.  Also, I've re-installed ASP .Net on my dev machine through the aspnet_regiis -i.  My persmission are set to allow anonymous access and scripts are allowed to run.  I'm not sure what other security setting I can change.

Thanks for any help.
Question by:Valdar729
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 10

Accepted Solution

makerp earned 1000 total points
ID: 13568315
have you done the WSDL file for the client again - check that it is not pointing to localhost or the lopback address. you can see the end point towards the end of ther WSDL file.

Author Comment

ID: 13568346
WSDL file?

I'm not sure where I would find that.

The web services are referenced through my dev machines name so when deploying the client it should be calling it by name and not ip or loopback.  I can ping my dev machine and run it through the test page fine, using the machine name.

Also, I would get a 404 error if I didn't have it set correctly, right?

Author Comment

ID: 13568393
I'm an idiot, I had the client app referencing the web app correctly, but there is a class that I didn't have set correctly to reference the web service.  Thanks for the help.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Six Sigma Control Plans
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question