1

i am new to invoking webservice (writting client side) using apache camel (Though I know about webservice, and writting code using CXF, spring template). Could anyone please help me in providing some good links for camel implementation of invoking webservice.

i also want to ask why would I use apache camel option instead of apache CXF (using wsdl2java tool and call webservice easily).

Thank you

4

1 回答 1

0

这是使用 spring-ws 组件调用soap服务的示例。您也可以使用 cxf 组件来执行此操作。

https://github.com/ganga-aloori/camel-practice/blob/master/src/com/practice/camel/webservice/ExternalServiceCallerRoute2.java

Camel 是一个基于 EIP 的 ESB,它提供了各种组件(CXF 就是其中之一)来集成多个系统。如果您的用例只是在您的应用程序中使用肥皂服务而没有任何集成范围,那么在这种情况下我不喜欢 Camel。

谢谢,恒河

于 2013-06-19T06:19:06.363 回答