2008/5/15 Daniel Kulp <[EMAIL PROTECTED]>:

>
> On May 15, 2008, at 6:16 AM, nicolas de loof wrote:
>
>   Hello,
>>
>> my web service implementation is configured as a spring bean :
>> <jaxws:endpoint implementor="#service" .../>
>>
>> Spring injects my dependencies in fields annotated with @Resource. CXF
>> also
>> tries, and I get some errors in log :
>>
>> 2008-05-15 11:59:12,752 : ResourceInjector.visitField : failed to resolve
>> resource
>>
>> com.capgemini.tpal.webservices.ServicesConsultation.ServicesConsultationSimple/tablerefDAO
>>
>> Can I disable CXF @Resource support ?
>>
>
> No.   Per JAX-WS spec, we have to process them.  Plus, a LOT of cxf is
> wired together with the @Resource and @PostConstruct annotations.  Without
> those being processed, I think a ton of stuff would break.
>


Right, so how can i configure CXF to use my spring context as source for
@Resource injection ?




>
>
> ---
> Daniel Kulp
> [EMAIL PROTECTED]
> http://www.dankulp.com/blog
>
>
>
>
>

Reply via email to