471,339 Members | 1,250 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,339 software developers and data experts.

Urgent:How to Check availability of web service

nRk

Hi,

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

Thank & regards
nRk
Apr 4 '08 #1
3 5776
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!
|
*************************************************
"nRk" <ra********@gmail.comwrote in message
news:9b**********************************@m1g2000p re.googlegroups.com...
>
Hi,

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

Thank & regards
nRk

Apr 4 '08 #2
nRk
On Apr 4, 8:35 pm, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo...@comcast.netNoSpamMwrote:
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!
|
*************************************************" nRk" <ramesh....@gmail.comwrote in message

news:9b**********************************@m1g2000p re.googlegroups.com...
Hi,
Is there any way to check the availability of a web service without
including any extra web method?
Thank & regards
nRk
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
Apr 4 '08 #3
nRk wrote:
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
Apr 5 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

20 posts views Thread by Niyazi | last post: by
13 posts views Thread by Niyazi | last post: by
1 post views Thread by dinoo | last post: by
3 posts views Thread by =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.