I am consuming some map services in my WCF services and for each service that I have I get the client object via this code. Every new service that I add, I get the client object this way. I am curious if I can consume the map service using it's URL so that I dont have to add the map service as a service reference. I would like to use the URL of map service to create client object. Appreciate any feedback.
MapServerPortClient client = new WellMapService.MapServerPortClient(); OR MapServerPortClient client = new PipelineMapService.MapServerPortClient();