I'm looking for a way to expose a simple web-service from a standalone Java application and I'm hoping to use spring-ws.

I have the following constraints:
  • standalone Java application (not WAR), bootstrapped using JINI
  • Java 1.4, but I might be able to push to Java 1.5
  • App is already using Spring 2.0 or 2.5


I've had a good search and all examples show using web.xml to bootstrap Spring and well as provide the servlet context and configure the servlet dispatcher. What I'm looking for is a way to configure spring-ws or otherwise expose a web-service without requiring the application to be a web app.

Any help or links greatfully appreciated.

William