0
我想在我的servicemix(基於保險絲)中公開SOAP 1.2中的WS。Servicemix - 在SOAP 1.2中公開CXF端點
我已經在我的藍圖配置文件中聲明瞭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
有沒有人曾經成功地公開servicemix中的CXF服務與SOAP 1.2支持?
感謝