Calling XML webservice

I found a way to fix my issue.
Before i initially call the web service i will make a WebRequest to the site hosting the service. Setting the timeout property to 1 second. If the server doesnt respond within the one second it will throw an error. Then i will know the server is down.
 
Back
Top