1

我正在尝试将 CXF 与多个端点和 2 个总线定义一起使用,这是我的配置:

<jaxws:endpoint id="csSegSEndPoint" 
    implementor="#csSegServices"
    address="/ESTSServices" 
    bus="busEST">
</jaxws:endpoint>

<cxf:bus name="busEST">
    <cxf:inInterceptors>
        <ref bean="logInbound"/>            
    </cxf:inInterceptors>
    <cxf:outInterceptors>
        <ref bean="logOutbound"/>
    </cxf:outInterceptors>
</cxf:bus>

问题是,当我启动应用程序时,我得到:

org.springframework.beans.factory.BeanCreationException:创建名为“csSegSEndPoint”的bean时出错:无法解析匹配的构造函数(提示:为简单参数指定索引/类型/名称参数以避免类型歧义)

我做了一些搜索,但我无法理解我做错了什么。请你帮助我好吗?

注意:我使用的是 CXF 2.2.10。

salu2 .. 玛施...

4

1 回答 1

1

直到 CXF 2.4.x 的某个时候,这才真正起作用。果断升级。2.2.10 是古老的、有缺陷的、不受支持的并且有很多安全问题。

于 2013-07-03T21:22:43.750 回答