Reputation: 101
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.
Upvotes: 0
Views: 726
Reputation: 281
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".
Upvotes: 0