Right click on your webservice in the VS.net gui and select properties. One
of the URL Behavior, set it to dynamic. Your app will then have an
APP.Config if it doesn't already and the URL will be settable in the config
file.
Thanks
Wayne
Exactly where is that option located?, I have searched for it and didnt find
it. My web service has an web.config file, but I cant find that property
that you talked.
Thanks.
> Right click on your webservice in the VS.net gui and select properties. One
> of the URL Behavior, set it to dynamic. Your app will then have an
[quoted text clipped - 13 lines]
> >
> > Thanks.
I added a Windows Application Project, and added a web reference, and in the
web reference, I found
the URL Behavior property, but my real application is for smart devices, and
I am in the exact location, on the
web reference, and there is NO url behavior???. Does this means I cant have
a dinamic URL for
smar devices..?
Thanks.
> Right click on your webservice in the VS.net gui and select properties. One
> of the URL Behavior, set it to dynamic. Your app will then have an
[quoted text clipped - 13 lines]
> >
> > Thanks.
Wayne - 29 Jun 2004 12:10 GMT
This was written by ELP in another message:
> In addition to the config file solution, you can also use the Url property
> of your web service proxy. This property can be set at run-time so you can
> for example have a settings dialog box in your client application where
> you'll be able to change the Url of your web service should it be moved to
> another server.
According to the help, Webserver.URL is supported by .net compact framework,
so you should be able to get an instance of your webservice and then set the
url property. This should give you the dynamic URL that you need. I've not
tried it as of yet.
Thanks
Wayne
> I added a Windows Application Project, and added a web reference, and in the
> web reference, I found
[quoted text clipped - 25 lines]
> > >
> > > Thanks.