I want remove xml declaration from wso response created by payload mediator (post method).
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mgod="MgOdinCToCrm" xmlns:mgex="MgExchange">
<soapenv:Body>
<m:getQuote xmlns:m="http://services.samples/xsd">
<m:request>
<m:symbol/>
</m:request>
</m:getQuote>
</soapenv:Body>
</soapenv:Envelope>
I try use xslt and js mediators to modify response, but it isn't help. This mediator can modify content only in body tag. May be someone faced with this problem