kstallings

kstallings

  • NA
  • 10
  • 0

Changing url of web service

Aug 16 2005 4:33 PM

I want to programmically change the IP address of a Web Service that my client pc is accessing. I am using the following code:

string ServerURL=@"http://10.20.30.40/IPA/ERalEXService.asmx";
lcws.Url=ServerURL;

If I then use a messagebox to display the Url it seems that I have indeed changed it. The problem is that the machine keeps communicating to the original IP.

Any ideas?
Keith Stallings


Answers (2)