I am saving the message body into a property with the following syntax
<property name="MyBody" expression="$body" scope="default" type="STRING"/>
as described at https://docs.wso2.com/display/ESB481/Synapse+XPath+Variables#SynapseXPathVariables-$axis2
I was wondering whether there is a way to save the whole envelope at once, not only the header or the body. I could not find any information about it.
Thank you!