camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem jiang <willem.ji...@gmail.com>
Subject Re: Cannot resolve CXF endpoint
Date Wed, 19 Dec 2012 03:31:40 GMT
You should add the namespace of cxf like this

<beans xmlns="http://www.springframework.org/schema/beans"  
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cxf="http://camel.apache.org/schema/cxf"

xsi:schemaLocation="  
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
">


--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) (English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Wednesday, December 19, 2012 at 2:34 AM, Christian Müller wrote:

> Did you read your exception? It's telling you that your Spring application
> context is invalid. You have to define the cxf namespace:
>  
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
> 35 in XML document from file
> [F:\OS-Middleware\apache-camel-2.10.2\examples\camel-example-cxf\target\classes\META-INF\spring\camel-context.xml]
> isinvalid;
> nested exception is org.xml.sax.SAXParseException; lineNumber:
> 35;columnNumber: 58; The prefix "cxf" for element "cxf:cxfEndpoint" is not
> bound.
>  
> Best,
> Christian
>  
> On Tue, Dec 18, 2012 at 7:19 PM, Gnanaguru S <
> gnanaguru.sattanathan@wipro.com (mailto:gnanaguru.sattanathan@wipro.com)> wrote:
>  
> > org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException
> > : Line 35 in XML document from file
> > [F:\OS-Middleware\apache-camel-2.10.2\exampl
> > es\camel-example-cxf\target\classes\META-INF\spring\camel-context.xml] is
> > invali
> > d; nested exception is org.xml.sax.SAXParseException; lineNumber: 35;
> > columnNumb
> > er: 58; The prefix "cxf" for element "cxf:cxfEndpoint" is not bound.
>  
>  
>  
>  
>  
> --  



Mime
View raw message