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支持?
感谢