繁体   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