Difference between Proxy Service and API Service in wso2 Esb

北城余情 提交于 2019-12-03 16:25:25

An API has resources so it is suitable when you have to perform multiple operations like CRUD etc. then you can call particular resource which will be performing some particular operation.

A proxy service is suitable when you have to perform an isolated operation (single operation).

So, what you can do is, make an API for multiple operations and then create proxy services for each operation.

Moreover, API can be called as REST service and Proxy service is called as a soap service.

Use a proxy service to expose a SOAP web service

You can consume JMS messages or files with VFS, but since ESB 4.9.0 you can use inbound endpoints for that purpose

Use API to expose a REST service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!