Ok, that's what I was thinking.
Thanks John.
Hi Scott,
Yes, as long as the webservice(or its WSDL) hasn't been changed, the client
proxy should remain the same. Therefore, when you deploy webservice to
another location, just modify the client proxy's Url property. Also, .NET
project by default store proxy's url property in App.config file, you can
simply change this value in app.config file without modify code.
Best regards,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we
can improve the support we provide to you. Please feel free to let my
manager know what you think of
the level of service provided. You can send feedback directly to my manager
at: msdnmg@microsoft.com.
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Scott M." <smar@nospam.nospam>
>References: <OZ4f7ovgIHA.6092@TK2MSFTNGP06.phx.gbl>
<uHpMyyvgIHA.1208@TK2MSFTNGP03.phx.gbl>
>Subject: Re: Deployment Question
>Date: Mon, 10 Mar 2008 18:53:17 -0400
>Ok, that's what I was thinking.
>
[quoted text clipped - 15 lines]
>>
>> The right way to do it is to set the Url property.
----------------------------------------------------------------------------
----
>> John Saunders | MVP - Windows Server System - Connected System Developer