Groups | Blog | Home
all groups > dotnet web services > april 2007 >

dotnet web services : Test availablity of a Web Service


Waldy
4/30/2007 12:28:01 PM
Hi Guys,
is there a quick and easy way of testing the availablity of a
web service before making the actual web service call?

Waldy.

John Saunders [MVP]
4/30/2007 2:59:21 PM
[quoted text, click to view]

Not really. In particular, what does "available" mean to you?

Consider that you could create a "Ping" operation in your web service. Your
client could call that operation to determine if the web service is
installed correctly. Yet, it's possible that as soon as you call one of your
"real" operations, it can't connect to the database. Was the service
"available"?
--
John Saunders [MVP]

John Saunders [MVP]
5/14/2007 1:20:52 PM
[quoted text, click to view]

As I said below,

Not really. In particular, what does "available" mean to you?

--
John Saunders [MVP]

[quoted text, click to view]

Waldy
5/14/2007 4:42:00 PM
Hi there,
what I mean is rather run through my code preparing the data
e.t.c. only to fail on the web service call, is there a simple call to tell
me yes or no whether the remote server is up and running.

Regards,

Steve W.

[quoted text, click to view]

AddThis Social Bookmark Button