ERJaxWebServiceRequestHandler wsHandler = new ERJaxWebServiceRequestHandler();
wsHandler.registerWebService("Calculator", new ERJaxWebService<Calculator>(Calculator.class));
this.registerRequestHandler(wsHandler, this.webServiceRequestHandlerKey());
// create a standalone endpoint using Jax WS mechanisms
Endpoint.publish("http://localhost:9999/ws/Calculator", new Calculator());
}