In your client project, you should the URL Behavior property of your web
reference to Dynamic (using the Properties window). By doing so VS.NET will
create an App.Config file containing the value of the URL property
(=location of your webservice). When you want to change that location you
just have to change the value in the .config file (=plain xml), and without
re-building the solution the next time you start your application it will
use the location specified.
--
Greetz
Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
> Hi All,
> I have created a webservice. I used this webservice in a ASP.NET Web
[quoted text clipped - 6 lines]
> Thanks
> JD
Jaydeep - 30 Jan 2004 07:34 GMT
Thanks for your prompt reply. One question,
Do I need to read this setting in a page or webservice will automatically
reads this ?
Jaydeep
--
> In your client project, you should the URL Behavior property of your web
> reference to Dynamic (using the Properties window). By doing so VS.NET will
[quoted text clipped - 21 lines]
> > Thanks
> > JD
Jan Tielens - 30 Jan 2004 07:51 GMT
It will be read automatically.
--
Greetz
Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
> Thanks for your prompt reply. One question,
>
[quoted text clipped - 31 lines]
> > > Thanks
> > > JD