Thanks Tony, that's nice!
"Wor Tony" <anthony (AT) anthonypounder (DOT) SHOES.com> skrev i meddelandet
news:OOtKFg2YDHA.2484 (AT) TK2MSFTNGP09 (DOT) phx.gbl...
"gopi" <gopi_krishna_s (AT) yahoo (DOT) com> wrote in message |
news:045001c3617c$ad18d2b0$a001280a (AT) phx (DOT) gbl...
You can use as follows. U can delete Web referecne of yor
project, but keep proxy class as part of your project.
myservice = New Testservice()
myservice.Url = ConfigurationSettings.AppSettings.Get
If you're using VS.Net 2003, you can right click on the web ref and
set the url type to be dynamic instead of static and your proxy class
will look up the web reference from your config file without you having to
write any code.
Nottingham - UK