Spring camel cxf soap和karaf问题
您好,我面临这个问题-配置问题:找不到XML架构命名空间的SpringNamespaceHandler[ 有问题的资源:URL[bundle://2888.0:0/META-INF/spring/camel context.xml] 将bundle部署到karaf时 我的代码如下Spring camel cxf soap和karaf问题,spring,apache-camel,Spring,Apache Camel,您好,我面临这个问题-配置问题:找不到XML架构命名空间的SpringNamespaceHandler[ 有问题的资源:URL[bundle://2888.0:0/META-INF/spring/camel context.xml] 将bundle部署到karaf时 我的代码如下 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/s
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
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/spring
http://camel.apache.org/schema/spring/camel-spring.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd">
<camelContext id="SOAPSERVICE" xmlns="http://camel.apache.org/schema/spring">
<routeBuilder id="soapRouter" ref="soapRoute"/>
</camelContext>
<bean class="com.example.router.SoapRouter" id="soapRoute"/>
<!-- setting up a Camel CXF web-service -->
<cxf:cxfEndpoint id="exampleServiceEndPoint"
address="http://localhost:9000/example/"
wsdlURL="http://localhost:9000/example?wsdl"
serviceClass="com.example.ExampleServiceEndpoint"/>
您必须在容器上安装驼峰弹簧功能