What are you pinging? If you want to check if a web service exists, just go to the full URL of the service and see if the page is found, not or not. On a webpage, you can even get a fantasy and test it with an ajax request (find Microsoft.XMLHTTP) It's funny that you have to ask about it, because every web service I developed is the first method I add to it , is ping :), which returns it in one liner, which can be displayed on the form.
source share