[英]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.