hi,
I am using cxf 2.4.2 and spring 3.0.5 versions.
I am facing issue to autowire an property in a Webservice implementation class.
@webservice
interface abc{
methods..
}
@webservice
class a implements abc{
@autowired
private xyz xyz;
methods..
}
class xyz{
}
As displayed in above code i am facing issue to autowire xyz in class a.
I am able to deploy the application, but I get the xyz property value as null.
I have already loaded org.springframework.web.context.ContextLoaderListe ner listener class in web.xml.
Mentioned the <context:annotation-config/> tag and also
<context:component-scan base-package="packagename" />
Please provide some pointers.
Thanks.


Reply With Quote