HTTP Error Code 405 from VS Web Service Proxy
October 24, 2005 – 22:29 | java, microsoftI have a Tomcat hosting Axis running at http://localhost:8080, and the regular VS 2002/IIS stuff running at http://localhost. So I feed the wsdl URL from Axis in VS’ “Add Web Reference”, and make VS generate the proxy for the Web service running in Axis. Unfortunately when the proxy is generated, the default service endpoint URL is always set to http://localhost. So naturally when I run the Web service consumer application in VS, it tries to go to the local IIS for the service, only to get back a 405 error. What makes this a bit hard to catch is one usually would expect a 404 error from a non-existent service endpoint.
