dev@jax-ws.java.net

Re: Spring Support

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Tue, 12 Dec 2006 14:32:58 -0800

Mohan K R wrote:
> Koshuke,
> Thanks for the reply and great work with with updating the maven repo.
>
> Yes, I did look at the documentation. It appears that uses Spring IoC and
> xml
> schema extension capability to replace sun-jaxws.xml, which I definitely
> like.

Good.

> My question was really how do I get access to the wac in the SEI? I guess I
> could
> get it in a roundabout way by using @Resource -> webServiceContext.

Pardon my ignorance, but what is 'wac'?
org.springframework.web.context.WebApplicationContext?

I'm no Spring expert, but since now your SEI is configured by Spring,
shouldn't it be able to inject WebApplicationContext for you?


> It would be nice if the WSSpringServlet supported it's own IoC which would
> be a child
> of wac (from the contextLoader Listener) and the jax-ws.http bean be
> retrieved from it.

I'm new to Spring and therefore I don't quite understand what you are
saying. Any pointer to the Spring documentation would be appreciated.


-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com