If I have my web-service on both my test and my production SharePoint servers and I want to call the right one based on which environment I'm on, how would I do this? How would I construct the call string to dynamically call the proper web service? I know this is extremely basic, but I don't know how to do this for the life of me.
For example, the web service endpoints are:
How would I build the web-service call string out to make sure the proper environment's web-service is called?