【问题标题】:Servicemix - Expose CXF Endpoint in SOAP 1.2Servicemix - 在 SOAP 1.2 中公开 CXF 端点
【发布时间】:2012-12-05 12:38:29
【问题描述】:

我正在尝试在我的 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 ...

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

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

谢谢

【问题讨论】:

    标签: java soap cxf apache-servicemix fuseesb


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-04-15
      • 2015-07-31
      • 1970-01-01
      • 1970-01-01
      • 2012-07-15
      • 2012-03-30
      • 1970-01-01
      相关资源
      最近更新 更多