edsmith
7/17/2003 8:44:00 PM
You will need to update the web services; there is no way to know who is accessing your web service. If you have a reference to a web service, and you expect
it to be moved, then you can set the property to dynamic and it will put an entry into your app.config or web.config file to get it at run time. Then you will not have
to recompile the project at that time.
If you are changing the web server as part of deployment (for instance, updating to a production server from a test server), you can include logic in you
deployment project to update the url in the app.config to point at the new server.
Hope this helps;
-Ed
--
Ed Smith, VBQA Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Stahler, Wes" <stahler.2@osu.edu>
>Subject: Moving a Web Service
>Date: Thu, 17 Jul 2003 11:18:55 -0400
>Lines: 6
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
>X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
>Message-ID: <uLH$5aHTDHA.1552@TK2MSFTNGP10.phx.gbl>
>Newsgroups: microsoft.public.dotnet.framework.aspnet.webservices
>NNTP-Posting-Host: jupiter.medctr.ohio-state.edu 140.254.120.28
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet.webservices:18338
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webservices
>
>If I move a web service from one machine to another, do I have to change the
>reference in all the apps that were using it? Anyone faced this issue yet?
>
>Thanks!
>
>
>