簡體   English   中英

Servicemix-在SOAP 1.2中公開CXF端點

[英]Servicemix - Expose CXF Endpoint in SOAP 1.2

我試圖在我的servicemix(基於保險絲)中公開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出現NullPointerException at org.apache.aries.blueprint.container.RecipeBuilder.getValue

有沒有人成功通過SOAP 1.2支持在servicemix中公開CXF服務?

謝謝

此功能僅適用於駱駝2.10,因此適用於servicemix 4.5

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM