WSO2 ESB - how to unwrap the SOAP envelope of REST messagess

笑着哭i 提交于 2019-12-12 02:39:20

问题


I noticed that REST messages are wrapped in a SOAP envelope by the ESB. Is there a way to keep the message as POX even inside the ESB, without being wrapped by a SOAP envelope? I tried setting format="rest" by using an http endpoint. But it didn't work.


回答1:


Within the ESB, message get converted to a soap message regardless of incoming/out going message format. That is happening to provide a consistent message format to all the mediators to work with. What you can do is, remove the soap envelope when message is going out from the ESB by setting the format="pox".



来源:https://stackoverflow.com/questions/20525859/wso2-esb-how-to-unwrap-the-soap-envelope-of-rest-messagess

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