Servicemix - 在SOAP 1.2中公开CXF端点

时间:2012-12-05 12:38:29

标签: java soap cxf apache-servicemix fuseesb

我正在尝试在我的servicemix(基于Fuse)中公开SOAP 1.2中的WS。

我已在我的蓝图配置文件中声明了CXF端点:

  <camelcxf:cxfEndpoint id="wsIdentService"
    serviceClass="service.ident.IdentService"
    address="/ws/ident"
    serviceName="ws:IdentService"
    endpointName="ws:IdentEndpoint"
    xmlns:ws="http://company.com/core/ident/0.1/"

我尝试了几种方法:

  • 在端点定义中添加wsdlURL会导致org.apache.cxf.service.factory.ServiceConstructionException: Could not find definition for port ...

  • 添加<camelcxf:binding><soap:soapBinding mtomEnabled="true" version="1.2"/></camelcxf:binding>会导致NullPointerException at org.apache.aries.blueprint.container.RecipeBuilder.getValue

有没有人成功在使用SOAP 1.2支持的servicemix中公开CXF服务?

由于

1 个答案:

答案 0 :(得分:0)

此功能仅适用于camel 2.10,因此适用于servicemix 4.5