"MA" <ne**@supremelink.se> wrote in message news:2r*************@uni-berlin.de...
Hi all!
I know there is other newsgroups for webservices, but I donīt get any answers on those.
I have developed a webservice that writeing and reading files in different
folders.
Question 1: I need to be able to stop this service by using a web
interface
(using a stop button). But I canīt find any way to this. Any ideas?
Question 2: Where can I see if this service is running?
Question 3: Can I get the current "uptime" for the service?
/Marre
A webservice is not like a windows-service. It is not an independant
process that can be stopped or started.
A webservice is part of a web application. As long as the application
is available, the webservice is alo available. "Uptime" for the webservice
is then equal to the uptime of the web-application.
If you want to stop access to that webservice (with the web application
still running), you could use an Application object, that is written to
by some "webservice control page", and read by that webservice:
if that object says "blocked" then the webservice should give an errormessage
else continue as usual.
Hans Kesting