Ah.. I see the problem.   You are within an element (the client element) that 
has the default namespace reset to xmlns="http://cxf.apache.org/jaxws”.  Thus 
the “ref” element is in that namespace, not the spring namespace.    Either use 
a prefix for the cxf elements or put an xmlns decl on the ref element or 
similar to get that back into the spring namespace.

Dan



> On Aug 13, 2015, at 2:55 AM, Resmis <reshmi...@gmail.com> wrote:
> 
> Hi Dan, 
> 
> Thanks for the response. 
> 
> <bean ref=“…”/> also not working. It is giving following exception:
> 
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Cannot locate BeanDefinitionParser for element [bean]
> 
> I was referring to http://camel.apache.org/cxf.html, in which the following
> sample is given for adding interceptors:
> 
> <cxf:outInterceptors>
>        <ref bean="loggingOutInterceptor"/>
> </cxf:outInterceptors>
> 
> Thanks,
> Resmi
> 
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Apache-Camel-CXF-Transport-Adding-interceptors-to-JaxWs-Client-tp5770596p5770640.html
> Sent from the Camel - Users mailing list archive at Nabble.com.

-- 
Daniel Kulp
dk...@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to