The address is hardcoded in the web service proxy. You'll see a line like
"this.URL = """. Just change it here.
if you want to change the url at runtime, create an instance of your proxy,
then change the url... ws.URL = "<new url>"
Mike
http://www.seeknsnatch.com
>I have an app I developed and tested everything using one url provided
> to me. Now the web service people came back and told me they changed
[quoted text clipped - 6 lines]
>
> Thanks.
John Saunders - 01 Sep 2006 23:26 GMT
> The address is hardcoded in the web service proxy. You'll see a line like
> "this.URL = """. Just change it here.
>
> if you want to change the url at runtime, create an instance of your
> proxy, then change the url... ws.URL = "<new url>"
Note that it's also possible to set the "URL behavior" to "Dynamic" in the
properties of the web reference. When you do this, an entry will be made in
the client applications's configuration file. Then, it will only be
necessary to change the config file when you want to change server URL.
John