Hi there.
I have written a web service in C# (VS2008) and ASP.Net and all is working fine with it. The problem I am having is when I expose the web service and hence then try to subscribe to its methods from a test application.
When I start up the web service in VS2008, the url has the usual address-type of http://localhost:3998/Webservice1/Service.asmx.asmx and so I am finding that if I wish to use the web methods in my test application, then I have to Add a Web Reference and copy/paste in the full url to the test application.
I feel this is the wrong way to do things so as I ultimately want to publiush this web service for other people to use, the question is how do I do this and where do I place all the necesary files? Do I have to use the Build/Publish web site option with the web service? It is then how do I see the web service on a different machine? Hopefully you get the idea with what I am looking for here..?
Most books and the such seem to give examples of the web service and corresponding subscribing apps to be on the same machine.
Thank you.
M :)
I have written a web service in C# (VS2008) and ASP.Net and all is working fine with it. The problem I am having is when I expose the web service and hence then try to subscribe to its methods from a test application.
When I start up the web service in VS2008, the url has the usual address-type of http://localhost:3998/Webservice1/Service.asmx.asmx and so I am finding that if I wish to use the web methods in my test application, then I have to Add a Web Reference and copy/paste in the full url to the test application.
I feel this is the wrong way to do things so as I ultimately want to publiush this web service for other people to use, the question is how do I do this and where do I place all the necesary files? Do I have to use the Build/Publish web site option with the web service? It is then how do I see the web service on a different machine? Hopefully you get the idea with what I am looking for here..?
Most books and the such seem to give examples of the web service and corresponding subscribing apps to be on the same machine.
Thank you.
M :)
Comment