Hi,
Need some help. I have two copies of the same web services project deployed
in the IIS. The web services are being used by two different applications.
Suppose the web services are WS-1 and WS-2. And the windows applications
using them are App-1 and App-2. I have referenced WS-1 in App-1 and WS-2 in
App2.... But since the WS-1 and WS-2 are exact copies, sometimes App-1
invokes methods in WS-2 and App-2 invokes methods in WS-1. Can anyone suggest
why this could happen, and what is the resolution for the problem...
Any help would be highly appreciated...
Thanks,
Yogesh.
DC - 30 Nov 2005 22:14 GMT
To precisely control what endpoint you connect to, you can specify the
target URL after you instantiate the client-side webservice proxy.
WebServiceProxy proxy= new WebServiceProxy();
proxy.Url = "http://localhost/WS-2.asmx";
-D
> Hi,
> Need some help. I have two copies of the same web services project
[quoted text clipped - 12 lines]
> Thanks,
> Yogesh.