简体   繁体   中英

Servicemix - Expose CXF Endpoint in SOAP 1.2

I'm trying to expose a WS in SOAP 1.2 in my servicemix (Fuse based).

I've declare the CXF endpoint in my blueprint configuration file :

  <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/"

I've tried several options :

  • adding wsdlURL in endpoint definition leads to a org.apache.cxf.service.factory.ServiceConstructionException: Could not find definition for port ...

  • adding <camelcxf:binding><soap:soapBinding mtomEnabled="true" version="1.2"/></camelcxf:binding> leads to a NullPointerException at org.apache.aries.blueprint.container.RecipeBuilder.getValue

Does anyone ever succeed to expose a CXF service in servicemix with SOAP 1.2 supports ?

Thanks

此功能仅适用于骆驼2.10,因此适用于servicemix 4.5

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM