hello i'm developing an application that includs a web service, on development time i run the service locally on my pc, than i publish the service to a remote server, i wanna know how can i take the web reference that i got and just change the adress of the service to the remote server to check that every thing is ok
+1
A:
You can set the service URL usign the Url property:
MyWebService.Service1 service = new MyWebService.Service1();
service.Url = NEWSERVICEURL;
Ryan Farley
2009-05-16 21:14:51