Henke
8/13/2003 8:08:00 PM
Thanks gopi, exactly what I needed!
/Henke
"gopi" <gopi_krishna_s@yahoo.com> skrev i meddelandet
news:045001c3617c$ad18d2b0$a001280a@phx.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
> ("myurl")
>
> >-----Original Message-----
> >Hi! We have a Windows application that consumes a web-
> service. Is it
> >possible to dynamicly (through a config-file or something
> like that) point
> >to the web-service that should be used? The web-service
> has been added with
> >Add web reference the first time. The only thing I'd like
> to do is to set
> >the URL where the web-service is.
> >
> >Thanks in advance!
> >/Henke
> >
> >
> >.
> >