posted 10 years ago
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.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.