users@jax-rpc.java.net

Re: Spring 1.2.2 and JAXWS 2.0ea2

From: Brian Doyle <bdoyle_at_localmatters.com>
Date: Thu, 21 Jul 2005 17:44:45 -0600

I just hacked it in an ugly solution by doing two things:

1. Created a static setter for the service impl on the jax annotated
class and did not mark it as a @WebMethod

2. Subclassed the JAXRPCServlet and overwrote the init() method.
The init() method gets the spring context and calls the static setter on
the annotated class with the service impl.

Not pretty but it works. Hopefully someone has a better solution.

On Thu, 2005-07-21 at 16:09 -0700, Phillip A. Lindsay wrote:
> Has anyone tackled the problem of injecting a service impl into a jaxws
> annotated implementation?
> I think I might be able to do something with handler framework, but hope
> someone figured this out already?
> Thanks,
> -phil
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
> For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net