Hi all 

i am having trouble using Spring 2.5 annotation with cxf 

I reduced all tha application to a mini manager and a webservice 

the manager code is 

@Service 
public class MiniManagerImpl implements MiniManager { 
[...] 

and the webservice 

@WebService(endpointInterface = "minitest.service.MiniService", serviceName
= "MiniService") 
public class MiniServiceImpl extends AbstractBaseServiceImpl implements
MiniService { 

        @Autowired 
        private MiniManager miniManager; 
[...] 

I did this other times the same way in a web application, and the autowire
always worked. 
However this time it seems to ignore me, there is no injection and
miniManager is always null. 
The webservice works, it trace my messages and anithing else, it just can't
call the manager (that is null). 

I checked the config files and the auto scan 
        <context:component-scan base-package="minitest"
scoped-proxy="targetClass" />     
(package is correct) 

Anybody can help me? What am i missing? 
Why Spring should ignore the autowire when the request comes from a cxf
webservice? 

Thanks a lot 
Paolo 


-- 
View this message in context: 
http://www.nabble.com/cxf---Spring-autowire-Problem-tp21981931p21981931.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to