And tweaking it for my own solution. The only thing is that my solution is a long lived, and i'm getting an error saying that my long lived service cannot be invoked synchronously. My question is, how would i call it asynchronously? I know that with the s ervlet api you specify it in the parameter of the invoke method, but i'm not sure with webservices.