Sounds like you'll need to implement some lifecycle methods around your web
service. One approach to this is having three methods (operations in web
service jargon).
Start();
YourWebServicerOperation( Parameters here );
Stop();
Start could create a thread(s) that would service requests and record the
start time. Stop could stop the thread(s) and record the stop time; and your
actual web service would be the third (or more) method(s). We've used a
similar approach with some success on a project.
hope this helps,
~harris
http://www.armchairathletes.com
"MA" wrote:
> Hi all!
>
> I have developed a webservice that writeing and reading files in different
> folders.
>
> Question 1: I need to be able to start and stop this service by using a web
> interface
> (start and 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
>
>
>