Good day I'm attempting my first web page calling a web service. Both are application folders within my site. I get a"404: Not Found" error when calling the service to return a simple string. Could this be an authentication problem? authentication mode="none" Can someone point mein the right direction? Thanks
the service url is http://www.helmwebview.com/pto and a call to 'hello' returns this full message: System.Net.WebException: The request failed with HTTP status 404: Not Found. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at PTO.wV.Hello() at Default2.Page_Load(Object sender, EventArgs e) signature: System.Net.WebException: The request failed with HTTP status 404: Not Found. at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at PTO.wV.Hello() at Default2.Page_Load(Object sender, EventArgs e) 'hello' should return 'Hello World' and the date/time As always, everything works fine on the test machine or on a local IIS-enabled system.
Could you please send us the URL where you are sending data to the web service as well? Winston DiscountASP.NET www.DiscountASP.NET
I'm happy to sat that I figured it out. Using the development system, my web.config <appSettings> generate <add key="PTO.wV" value="http://localhost/... and this of course works fine for a dedicated desktop setup. Changing the "localhost" to my webpage's name points to the webservice correctly on the hosting system. Thanks for your help!