Hi to everyone,
i have a problem injecting the web-service-context into a spring bean
exposed as a web service through cxf.

If the bean is a pojo everything works.

When i enable Spring AOP, the bean becomes an AOP proxy and the resource
does not get injected (is null).

I tryed with JDK Dynamic Proxy and the ResourceInjector throws exception in
tests (both with field and setter injection).

I switched to CGLIB proxy and everything works fine in tests, but when
deployed in Jboss/Tomcat the context is null, no exception thrown.


Are there known issues and patch/warkaround about the problem ?

Or is there a way to get the web-service-context programmatically ?


Thank you very much, any help appreciated.


Nicola

Reply via email to