I have 3 web services added to service references in a class library.(This is a sample project for an API use) I need to move these into my project but i ca
You can dynamically change the url of a service reference:
var service = new MyService.MyWSSoapClient(); service.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://localhost:8080/");