 <p>The following article explains how you can make the Web Service Reference dynamic by changing the reference properties, adding a key to the web.config file and referencing this key on the application code: </p> <p><a href="http://www.codeproject.com/Articles/12317/How-to-make-your-Web-Reference-proxy-URL-dynamic" rel="nofollow">Article Link</a></p> <p>Basically you will have 2 versions of web.config file, production and staging with different URLs defined. While the code will point to a unique location.</p> <p><strong>UPDATE:</strong></p> <p>Now, before the following line, you have to alter the service.URL according to what stands in the web.config.</p> <pre><code>Dim response As Swan.MagellanLeadSheetResponse = service.Foo(stuffToSendToService) </code></pre>