473,385 Members | 1,492 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,385 software developers and data experts.

Test availablity of a Web Service

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.
Apr 30 '07 #1
3 1172
"Waldy" <so*****@microsoft.comwrote in message
news:er*************@TK2MSFTNGP06.phx.gbl...
Hi Guys,
is there a quick and easy way of testing the availablity of
a web service before making the actual web service call?
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]
Apr 30 '07 #2
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.

"John Saunders [MVP]" <john.saunders at trizetto.comwrote in message
news:uj**************@TK2MSFTNGP02.phx.gbl...
"Waldy" <so*****@microsoft.comwrote in message
news:er*************@TK2MSFTNGP06.phx.gbl...
>Hi Guys,
is there a quick and easy way of testing the availablity of
a web service before making the actual web service call?

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]


May 14 '07 #3
"Waldy" <so*****@microsoft.comwrote in message
news:uR**************@TK2MSFTNGP03.phx.gbl...
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.
As I said below,

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

--
John Saunders [MVP]
>
Regards,

Steve W.

"John Saunders [MVP]" <john.saunders at trizetto.comwrote in message
news:uj**************@TK2MSFTNGP02.phx.gbl...
>"Waldy" <so*****@microsoft.comwrote in message
news:er*************@TK2MSFTNGP06.phx.gbl...
>>Hi Guys,
is there a quick and easy way of testing the availablity
of a web service before making the actual web service call?

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]



May 14 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: David | last post by:
I've written a small windows service, and I'm having a problem that I'm spending a lot more time on than I'd like. If anyone has experienced this problem and has any hints or solutions; they would...
2
by: kai | last post by:
Hi, All I created a Webservice locally, and it returns all coustomers names in XML format when I click "Invoke" button. But when I test from the Web, it says "The test form is only available for...
1
by: david | last post by:
Wehen locally access it, the browser can show me the test form for the Webmethod. But when I access it from remote machine, I get: The test form is only available for requests from the local...
2
by: Greg | last post by:
Please note: I have cross posted this from Newsgroup: microsoft.public.dotnet.framework.aspnet.webservices with a few minor changes... I am having a simple problem setting up the security on my...
2
by: John | last post by:
I already have an existing WSDL file and want to generate C# proxy code and C# test client using Visual Studio .NET 2003 with Framework Version 1.1. I firsted created ASP.NET web service, and...
3
by: Maxwell2006 | last post by:
Hi, When I run a web service project, ASP.NET shows me a default web method invoke page. How can I disable/modify the default test (or method invoke) page of the ASP.NET web services? ...
0
by: Orbit | last post by:
Hi, I hope someone could help me. I have a simple web service that I developed on my laptop that resides within a large web application. It queries Northwind & presents the data in a grid in the...
0
by: =?Utf-8?B?bmVlcmFqYkBub2lkYS5ub3NwYW1oY2x0ZWNoLmNv | last post by:
Hi, We have created new .NET web service and running it through the default test page and it's working fine in our development environment. When we moved the web service to the acceptance...
6
by: Vyacheslav Maslov | last post by:
Hi all! I have many many many python unit test, which are used for testing some remote web service. The most important issue here is logging of test execution process and result. I strongly...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.