Urgent:How to Check availability of web service

  • Thread starter Thread starter nRk
  • Start date Start date
N

nRk

Hi,

Is there any way to check the availability of a web service without
including any extra web method?

Thank & regards
nRk
 
With web services it is pretty much

a) it works
b) it times out

You can set up another web method, but it will still either work or time
out.

You can ping the server and see if it is up, but if ICMP response is off on
the machine, it will look like it is down, even if it is not.

If you have full control of the server, you can set up your own mechanism
(service?) to query which services are up and which are down, if that is
helpful.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|
*************************************************
 
With web services it is pretty much

a) it works
b) it times out

You can set up another web method, but it will still either work or time
out.

You can ping the server and see if it is up, but if ICMP response is off on
the machine, it will look like it is down, even if it is not.

If you have full control of the server, you can set up your own mechanism
(service?) to query which services are up and which are down, if that is
helpful.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my bloghttp://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:http://gregorybeamer.spaces.live.com/

*************************************************
| Think outside the box!
|

Hi

Thanks for the early reply. I thinking about it.

But even if i am not an authorized user also it throws Exception
(WebException)
and If webservice not available also throws exception (WebException)..

thanks
nRk
 
nRk said:
Is there any way to check the availability of a web service without
including any extra web method?

I don't think you will gain much by doing something else
than make the web service call and handle exceptions.

Checks would suffer from:

check OK
service goes down
real call

and

check fail
service comes up
does not do real call

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top