• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Stopping java web service

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
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,
Mahita
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic