title: In wso2 ei how create multipart request using application/octet-stream response
body: <p>In wso2 ei 6.6 I am calling first api and getting the response application/octet-stream using this response how to create multipart request.</p>
  <pre><code>&lt;payloadFactory media-type=&quot;xml&quot;&gt;
      &lt;format&gt;
          &lt;root&gt;
              &lt;file
                  xmlns=&quot;http://org.apache.axis2/xsd/form-data&quot;&gt;$1
              &lt;/file&gt;
          &lt;/root&gt;
      &lt;/format&gt;
      &lt;args&gt;
          &lt;arg evaluator=&quot;xml&quot; expression=&quot;$body/&quot;&gt;
      &lt;/args&gt;
  &lt;/payloadFactory&gt;
  </code></pre>
  <p>If I set like the above payload factory I am getting empty response or encoded binary response. How can I fetch the media type and set multipart in wso2 ei.</p>