Use web service through web service through Mule ESB

I have a web service that sends a name to the sayHello () web service and gets the string "Hello, name". I want to change the point-to-point connection something like this:

web service ---> Mule ESB ---> web service

I wonder how can I do this? I searched for a long time, but I did not find a useful document on this topic. Which endpoints should be used?

Thanks.

+4
source share
2 answers

It depends on the type of web service you need to expose and consume:

You can use some strategies to view SOAP-based web services .

1) - Bridging WSProxyService

https://docs.mulesoft.com/mule-user-guide/v/3.7/proxying-web-services

2) - CXF

https://docs.mulesoft.com/mule-user-guide/v/3.7/proxying-web-services-with-cxf

3) - CXF

https://docs.mulesoft.com/mule-user-guide/v/3.7/building-web-services-with-cxf

- RESTful RAML, APIKit.

http://raml.org/

https://docs.mulesoft.com/anypoint-platform-for-apis/apikit-tutorial

- SOAP -

https://docs.mulesoft.com/mule-user-guide/v/3.7/web-service-consumer

- REST HTTP:

https://docs.mulesoft.com/mule-user-guide/v/3.7/http-request-connector

, - SOAP ( -), - SOAP, :

HTTPListener->CXF->WebserviceConsumer

- , ProtocolBridging CXF.

- REST, - REST, :

HTTPListener->APIKit->HTTPRequest

..

+1

Source: https://habr.com/ru/post/1617998/


All Articles