<p>I want to call a web service, but I won't know the url till runtime.</p>

<p>Whats the best way to get the web reference in, without actually committing to a url.</p>

<p>What about having 1 client hit the same web service on say 10 different domains?</p>

Create the web reference, and convert the web service to a dynamic web service. A dynamic web service allows you to modify the Url.
You need to create the web reference now to ensure your application understands the interfaces available. By switching to a dynamic web service you can then modify the .Url property after you have initialised the web reference in your code.
```
```
service = new MyWebService.MyWebService();
service.Url = myWebServiceUrl;
```
```