title: WSO2-ESB How to save the whole SOAP Envelope into a property
body: <p>I am saving the message body into a property with the following syntax</p>
  
  <pre><code> &lt;property name="MyBody" expression="$body" scope="default" type="STRING"/&gt;
  </code></pre>
  
  <p>as described at      <a href="https://docs.wso2.com/display/ESB481/Synapse+XPath+Variables#SynapseXPathVariables-" rel="nofollow">https://docs.wso2.com/display/ESB481/Synapse+XPath+Variables#SynapseXPathVariables-</a>$axis2</p>
  
  <p>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.</p>
  
  <p>Thank you!</p>