Thanks for your response. I'm a little confused here. What is MyWebService in your code? would you please give me some insight into this?
Regards.
Main Topics
Browse All Topics
hello group,
In part of my website I'm using a third part service when user can click on a link and login to it. Sometimes the service goes down and I need to show a notification showing the status of a the service.
either it is down or up and running.
Thinking to write a script using C# or VB.NET for this matter. can somebody give me some hints on this ?
Regards,
ak
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Sorry, I was assuming an ASP.NET site consuming a third-party WSDL web service. Maybe you need to explain a little clearer:
- do you have an ASP.NET website in place?
- what is the web service that you are trying to consume?
>> There is a link in one of the pages that people can click and get to a service
A link to what? Another web site?
J.
>> do you have an ASP.NET website in place?
>> what is the web service that you are trying to consume?
OK, consider having a regular website only made of HTML, CSS and ... but runs in IIS. It has a link to a third party online site as Blackboard.
I can use ASP.NET on my server and the web application I'm using is Blackboard.
Regards.
Hi,
You can use a HTTPRequest to request a page from the website. If the page is retrieved successfully then the site is up otherwise its not accessible.
http://www.codeproject.com
Business Accounts
Answer for Membership
by: jimbobmcgeePosted on 2009-07-20 at 11:04:42ID: 24897405
The easiest way I can think of is just to try to use one of the methods of the web service and catch an exception or query its result. Pick a non-destructive method to call and wrap it in a try/catch block.
If its a regularly-called service, you may want to cache the result for a few mins between calls...
Select allOpen in new window