Web services 如何在Fuse ESB中部署War文件

Web services 如何在Fuse ESB中部署War文件,web-services,cxf,fuseesb,jbossfuse,Web Services,Cxf,Fuseesb,Jbossfuse,我已经使用ApacheCXF开发了一个web服务,并将其部署在ApacheTomcat上,并且运行良好 现在我需要在JBoss Fuse ESB(JBoss-Fuse-6.0.0)上部署它。我试图通过在deploy文件夹中复制它来部署它,但无法使用?WSDL获取WSDL定义,并在fuse.log中发现以下错误: 16:28:49,889 | ERROR | Executor: 1 | ContextLoader | 174 - org.spring

我已经使用ApacheCXF开发了一个web服务,并将其部署在ApacheTomcat上,并且运行良好

现在我需要在JBoss Fuse ESB(JBoss-Fuse-6.0.0)上部署它。我试图通过在deploy文件夹中复制它来部署它,但无法使用
?WSDL
获取WSDL定义,并在
fuse.log
中发现以下错误:

16:28:49,889 | ERROR | Executor: 1 | ContextLoader | 174 - org.springframework.web - 3.1.3.RELEASE | Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/cxf-beans.xml]; nested exception is org.springframework.beans.FatalBeanException: Class [org.apache.cxf.jaxws.spring.NamespaceHandler] for namespace [http://cxf.apache.org/jaxws] does not implement the [org.springframework.beans.factory.xml.NamespaceHandler] interface at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)[105:org.springframework.beans:3.1.3.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)[105:org.springframework.beans:3.1.3.RELEASE] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)[105:org.springframework.beans:3.1.3.RELEASE] at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)[105:org.springframework.beans:3.1.3.RELEASE]
请帮助我了解如何在Fuse ESB上部署它,以及需要进行何种配置更改。

您使用的是哪个版本的Fuse?您编译时使用的是哪个版本的CXF?您是在部署工件中提供CXF JAR,还是依赖于容器来提供它们?我使用的是jboss-fuse-6.0.0.redhat-024它看起来是CXF配置问题。您可以在这里发布cxf-beans.xml配置吗?您好,我已经用cxf-beans.xml更新了我的帖子,但我想强调的是,它在Apache Tomcat上运行良好。这里发布了相同的问题,并提供了答案链接:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns:jaxws="http://cxf.apache.org/jaxws"
    xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd 
        http://cxf.apache.org/jaxws http://cxf.apache.org/schema/jaxws.xsd
    ">

    <import resource="classpath:META-INF/cxf/cxf.xml" />

    <jaxws:endpoint id="hellows" implementor="com.irk.test.ws.HelloWsImpl" address="/hellows"/>

</beans>