472,986 Members | 2,881 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,986 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 5869
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...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...

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.