how do you test (through code) if the web service is available
-
Hello, How do you test if the web service is available? Is this simply doing a
try {...} catch(System.Net.WebException) {...)
in every block of code where I try to access the web service? Thank you for your help, ~Rafferty -
Hello, How do you test if the web service is available? Is this simply doing a
try {...} catch(System.Net.WebException) {...)
in every block of code where I try to access the web service? Thank you for your help, ~RaffertyHi, Do you want to test whether the webservice is available or to know whether the available webservice is running?? When you want to test whether the avilable webservice is running: 1) It will throw a runtime exception as soon as you instantiate the Websevice in your implementation page. When you want to test whether the webservice is available: 1) It will not allow to connect to the particular URL if it is not avaialbel from the WebReference dialog box. ;) Regards
Mohan