In the properties for the web service reference is a "Static | Dynamic"
option. I don't remember the actual property name, but as there are only a
half dozen properties, it's easy to find.
If you switch it to "Dynamic", it'll pull the URL out of the web.config
file. You can then have a different config file for production / dev / test
/ staging.
--
Chris Mullins
>I have an ASP.Net project, in which I added a web reference, for example
> http://Sandbox/service.asmx
[quoted text clipped - 9 lines]
> Anyone can point me to the right direction how to solve this issue?
> Thanks
John Dow - 27 Nov 2007 18:05 GMT
Thanks, works like a charm!
> In the properties for the web service reference is a "Static | Dynamic"
> option. I don't remember the actual property name, but as there are only a
[quoted text clipped - 20 lines]
>> Anyone can point me to the right direction how to solve this issue?
>> Thanks