I have created a webservice in VS.NET 2005 and deployed it in IIS (http://localhost/WebService1/Service.asmx
Now i created a proxy in asp.net application and called a method like
Service1 _service = new WebApplication3.localhost.
string x = _service.HelloWorld();
Keepign in mind if this has to be moved to Test Servers/ Production etc . Can I have this path in
web.config of asp.net application <add key = "WebServicePath" value = http://localhost/WebService1/Service.asmx
and then call it in asp.net application (Is it necessary in this case to create proxy) or how can I call this and invoke a method (please let me know the best way to deal with keeping in mind about deployment of asp.net and webservice)