How to check webservice status on .aspx page
I have created a webservic which store data from one database to another. Now i want to know my webservice status on .aspx page means it is working or not. And also i want start and stop webservice on button click event. If yes then how please healp me.
Suthish NairPosted Sep 21, 2011, 3:51 PM
If the HttpWebResponse object.StatusCode == "OK" then the url is working fine.
Neeraj YadavPosted Sep 26, 2011, 10:27 AM
I am trying to build (csharp) one webservice engine that make two actions:
1 – Have one timer (thread), that will run in each 10-10 minutes, requesting some information (connecting with other server to grab some info - status) to update in one database. (This must be automatic and no human action will be available). The idea is the webservice automaticaly (10x10 minutes) update the database with the recent information status.
2 – One service method that get some information from one database. (This is one simple method that gives the information when someone request it). This method will responsible to select the status info from database.
The problem is the step 1, because step 2 e very easy.
please help
Neeraj YadavPosted Sep 23, 2011, 4:13 AM