473,386 Members | 1,886 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 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 5888
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Daniel Ng | last post by:
Thanks for the 2 guys how hep to to solve to count the number of recount in forum. I'm done wif that. Got 1 more question.. Example Record 1: ID 2 VALUE 2 Record 2: ID 3 VALUE 3 Record 3: ID 2...
20
by: Niyazi | last post by:
Hi all, I have a integer number from 1 to 37000. And I want to create a report in excel that shows in 4 alphanumeric length. Example: I can write the cutomerID from 1 to 9999 as: 1 ---->...
13
by: Niyazi | last post by:
Hi I have a report that I have to run it monthly in my machine. My code in VB.NET and I access AS400 to get data, anaysie it and send into pre formated Excel sheet. The data consist of 9000...
1
by: dinoo | last post by:
I would appreciate if some one can help me out. We are using Microsoft Word's spell check functionality in one of our web pages based on the requirement. We are using Microsoft PIA assemblies to...
6
by: Svein Erik | last post by:
C# asp.net 2.0. I'm creating an online survey. I'm making a string array that's holding the variables of the answers made in the radiobuttonlists that i create manually. I need to make a method...
1
by: gnusmsa | last post by:
ASP.NET 2.0 (C#) application Using Windows authentication and impersonation Windows Server 2003 (IIS6) Server is a member server on a domain Logged into server as a domain user that is in the...
0
nabh4u
by: nabh4u | last post by:
hi, i would like to know as to how to check if windows service is terminated. if it is terminated then my web page should show some error message like "no communication". i have already set that...
1
by: juliacjy | last post by:
Dear all, I'm needing an urgent help. I'm now maintaining a system which has a function of "Automatic Calculation". User is allowed to set of a time which then will be stored in one of my sql...
3
by: =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post by:
I have a Windows service that we need to have multiple instances running. We achieve this by using InstallUtil Service.exe /name="SomeServiceName". I need to know the name of the instance of the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.