6, 2005 8:28 AM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: Re: [ADVANCED-DOTNET] Dynamically setting URL for webservice...
It's a good idea to set the URL in the web.config.
- Original Message -
From: "Mike Andrews" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October
It's a good idea to set the URL in the web.config.
- Original Message -
From: "Mike Andrews" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 25, 2005 3:26 PM
Subject: [ADVANCED-DOTNET] Dynamically setting URL for webservice...
Guys,
I've got a webservice that
read in the url for the webservice from a config file
and set it at runtime before using the proxy.
- Original Message -
From: "Mike Andrews" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, October 25, 2005 3:26 PM
Subject: [ADVANCED-DOTNET] Dynamically setting URL for webservice..
That's a pretty good idea. I won't need anything so grand here in my case,
but I will need to dynamically change the url of the webservice.
Thanks,
Mike
On 10/25/05, ravi teja veerla <[EMAIL PROTECTED]> wrote:
>
> yeah,
> we can change the proxy property to dynamically change the url for the
> w
yeah,
we can change the proxy property to dynamically change the url for the
webservice. this comes handy when u need to change the url based on permission
levels and testing and production urls and locations of the client.
I have used the constructor of the proxy to handle the selection. a simp
-5755-9122
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Andrews
Sent: Martes, 25 de Octubre de 2005 04:26 p.m.
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: [ADVANCED-DOTNET] Dynamically setting URL for webservice...
Guys,
Are you using Visual Studio? If so, in your solution explorer, right click on
the web reference and select properties. Change the URL Behavior property to
Dynamic. This should automatically add an entry for the web service in the
application's web.config file. You can change the URL of the w
Guys,
I've got a webservice that I'm going to consume in a Web application. How
can I add a web reference (for testing locally) and then change the
reference later for moving to the webserver. The webservice will be located
on various remote web servers.
Or is that even possible?
Thanks,
Mike
=