【问题标题】:what is difference between spring-ws,CXF,soap(camel component) to call web service?spring-ws,CXF,soap(骆驼组件)调用Web服务有什么区别?
【发布时间】:2014-01-16 10:43:06
【问题描述】:

我是骆驼新手? 我无法区分骆驼网络服务组件 所以请帮我找出这些组件之间的区别 并建议在哪种情况下使用哪个组件更好。

提前致谢。

【问题讨论】:

    标签: web-services apache-camel


    【解决方案1】:

    Camel SOAP 不是一个组件,而是一种数据格式http://camel.apache.org/soap.html,它用于编组和解组 SOAP 有效负载。

    Spring-WS http://camel.apache.org/spring-web-services.html 使用 Spring Web Services 提供客户端和服务器端 SOAP 支持。

    Camel-CXF http://camel.apache.org/cxf.html 使用 Apache CXF 提供客户端和服务器端 SOAP 支持。

    当我必须处理 SOAP 时,Camel-CXF 是我的首选工具。它是一个成熟且功能非常齐全的组件(和底层库)。我使用 Spring-WS 的唯一一次是如果我正在处理非常过时的 SOAP,它使用 CXF 不支持的 RPC 编码。

    【讨论】:

    • 感谢 Tracy Snell 对我的帮助很大
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-03-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多