On Apr 15, 2:52*pm, "Carlos" <pal...@gmail.com> wrote:
> I have an console *app that call a web service, I need to be able to change
> the endpoint so I can consume the webservice form differents server if I
> need.
>
> Any Ideas how to do it. ? Ican't find a good example .
>
> Thanks
> C
It looks like you want to change the server at runtime, but otherwise:
Perhaps you could set up an alias for the web server, and the alias
would be referenced in the endpoint in the config file rather than an
explicit server.
If you had the ability to change where the alias was pointing, then
you wouldn't have to change anything in the config file.
|