put a empty file in the web application, and try to download it using
WebClient or HttpWebRequest.
you can check the Http Status code to see what happens :
200: OK
401: not authorized
404: not found,
etc...
You can also setup the web.config to allow anonymous access to this file
only, if you don't want to pass credentials just for ping.
Steve
"AVL" <AVL (AT) discussions (DOT) microsoft.com> wrote
Quote:
hi,
i need to check the availability of my web service....
how can i do that.
i dont want to call any of the methods present in web service to test
availability..
i just want to ping to the web service....how can i do that.... |