I'd like my code to use a different web service depending on which server it's running on. The services are exactly the same, one is for the test version of an app, the other for live.

Both services are defined as a Web Reference, one as TestService the other as LiveService however I'm not sure how to tell my code which one to use, depending whether it's on the Test or Live server.

Can anyone help please?