简体   繁体   English

Servicemix-在SOAP 1.2中公开CXF端点

[英]Servicemix - Expose CXF Endpoint in SOAP 1.2

I'm trying to expose a WS in SOAP 1.2 in my servicemix (Fuse based). 我试图在我的servicemix(基于保险丝)中公开SOAP 1.2中的WS。

I've declare the CXF endpoint in my blueprint configuration file : 我在蓝图配置文件中声明了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/"

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 ... 在端点定义中添加wsdlURL导致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 添加<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

Does anyone ever succeed to expose a CXF service in servicemix with SOAP 1.2 supports ? 有没有人成功通过SOAP 1.2支持在servicemix中公开CXF服务?

Thanks 谢谢

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 具有CXF的Java Spring Boot生成SOAP 1.2端点 - Java Spring Boot with CXF generating SOAP 1.2 endpoint Spring和CXF同时公开一个端点的休息和肥皂 - Expose Rest and Soap for one endpoint simultaneously by Spring and CXF Apache CXF:SOAP 1.2消息在发送到仅限SOAP 1.1的端点时无效 - Apache CXF: A SOAP 1.2 message is not valid when sent to a SOAP 1.1 only endpoint 发送到仅SOAP 1.1端点时,SOAP 1.2消息无效 - A SOAP 1.2 message is not valid when sent to a SOAP 1.1 only endpoint Apache Camel CXF端点-如何指定soap操作? - Apache Camel CXF Endpoint - how to specify soap operation? 如何将 JAVAX-WS 端点绑定更改为 SOAP 1.2? - How to change JAVAX-WS Endpoint binding to SOAP 1.2? 从Java公开SOAP 1.2 Web服务,该Java服务调用另一个REST服务 - Expose SOAP 1.2 web service from java which calls another REST service 为什么 Camel CXF 端点使用随 SOAP 请求提供的路径字符串的一部分来构建 http 组件的 URL? - Why does the Camel CXF endpoint use a part of the path string provided with the SOAP request to build the URL for the http component? 通过 Camel cxf 组件连接 SOAP 端点时,WrapperClassOutInterceptor 无法转换为 java.lang.String 错误 - Cannot be cast to java.lang.String error at WrapperClassOutInterceptor when connecting SOAP endpoint through Camel cxf component 在cxf中公开json数组的异常 - Exception in expose the json array in cxf
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM