This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes Stopping java web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Stopping java web service" Watch "Stopping java web service" New topic

Stopping java web service

Mahita Ande

Joined: Sep 26, 2012
Posts: 16
I have a java web service built on jaxws. This web service is installed on a unix server and runs as a process. A .net application connects to this service to access its exposed methods. Please advise how I can stop the web service when a stop request is sent from the .net application.

Thank you,
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15951

What are you using as a web service container?

Normally web applications (including web services) are not expected to be shutting down their container. For one thing, a web server may contain other webapps that might not be interested in being shut down. For another, you can shut it down, but then there's no way to start it back up again.

However, depending on what container you are running, you may still find that one or more APIs or other channels exist that permit you to initiate shutdown.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link:
subject: Stopping java web service
Similar Threads
how to consume secured axis2 service in .NET
i want to know how do you invoke any string,array,object data from web service
Web service not functioning when tomcat retarts
serious advantages of java web service over .net web services- please help
Transferring control from java web service to .net application