We are using wso2 api manager (2.1.0) to manage our SOAP apis. The reponse message of a our web service has content type "application/dime". We change axis2.xml to use binary-relay (builder and formatter) with that content type.
<messageFormatter contentType="application/dime"
class="org.wso2.carbon.relay.ExpandingMessageFormatter"/>
<messageBuilder contentType="application/dime"
class="org.wso2.carbon.relay.BinaryRelayBuilder"/>
The response SOAP message is not expanded, so we have a return envelope like this
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<ns:binary xmlns:ns="http://ws.apache.org/commons/ns/payload">DCAAAAApACkAAAJxdXVpZDo3MTRDNk...U9GCgA=</ns:binary>
</soapenv:Body>
</soapenv:Envelope>
We saw the same behaviour with wso2 enterprise integrator (6.1.1).
Is there any configuration that we have to do to enable expanding of response SOAP message in api manager or enterprise integrator? Would we do something else?