Slowing working backword through my overloaded inbox...... On Wed March 18 2009 6:14:21 am Marc Logemann wrote: > 2) CXF always tries to inject into webservice classes where i have > @Resource annotations on properties. This fails. But these @Resource > annotations were fulfilled by Spring, so CXF dont need to try anyhing > in that area. How to avoid that?
Can you try with CXF 2.2? 2.2 tries to detect if Spring is handling it and turns itself off. The problem is that Spring REFUSES to inject the WebServiceContext (they actually have that hardcoded as an exclusion in their code) so we HAVE to do that one. But we do try to detect when we can not do it for the others. > I expose my webservices via: > > <jaxws:endpoint > id="workplaceManager" > implementor="#workplaceDaoImpl" > address="/WorkplaceManagerService"/> > > So as you can see. The implementor is a spring based bean which > already got its injectios on the properties by Spring. Disabling > @Resource injection completely would lead that i am missing some > features like WebserviceContext injection right? I dont use stuff like > that but perhaps in the future..... -- Daniel Kulp [email protected] http://www.dankulp.com/blog
