简体   繁体   English

spring-ws,CXF,soap(camel component)调用Web服务之间有什么区别?

[英]what is difference between spring-ws,CXF,soap(camel component) to call web service?

i am new to camel? 我是骆驼的新手吗? i am not able to distinguish between camel web-service component so please help me to find out difference between those component and also suggest that in which situation which component is better to use. 我无法区分骆驼Web服务组件,因此请帮助我找出那些组件之间的区别,并建议在哪种情况下最好使用哪个组件。

Thanks in advance. 提前致谢。

Camel SOAP is not a component but a data format http://camel.apache.org/soap.html it's used for marshaling and unmarshaling SOAP payloads. Camel SOAP不是组件,而是一种数据格式http://camel.apache.org/soap.html ,用于封送和取消封送SOAP负载。

Spring-WS http://camel.apache.org/spring-web-services.html uses Spring Web Services to provide client and server side SOAP support. Spring-WS http://camel.apache.org/spring-web-services.html使用Spring Web Services提供客户端和服务器端SOAP支持。

Camel-CXF http://camel.apache.org/cxf.html uses Apache CXF to provide client and server side SOAP support. Camel-CXF http://camel.apache.org/cxf.html使用Apache CXF提供客户端和服务器端SOAP支持。

Camel-CXF is my goto tool when I have to deal with SOAP. 当我必须处理SOAP时,Camel-CXF是我的首选工具。 It's a mature and very full featured component (and underlying library). 这是一个成熟且功能齐全的组件(和基础库)。 The only time I use Spring-WS is if I'm dealing with very outdated SOAP that is using RPC encoding which CXF doesn't support. 我唯一使用Spring-WS的地方是,如果我正在处理使用CXF不支持的RPC编码的非常过时的SOAP。

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

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