Questions Tagged With webservicehttps://answers.axonivy.com/tags/webservice/?type=rss&user=Andriy%20Petrivskyyquestions tagged <span class="tag">webservice</span>enTue, 31 May 2011 09:24:41 -0400Enable MTOM for Ivy web services processeshttps://answers.axonivy.com/questions/408/enable-mtom-for-ivy-web-services-processes<p>I have a web service process developed in Ivy that should send binary files using MTOM. Currently this service has the field of <code>javax.activation.DataHandler</code> type as the result parameter but it returns binary data in Base64 format. The code of the process is the following:</p> <pre><code>FileDataSource dataSource = new FileDataSource("c:\\test.png"); in.dataHandler = new DataHandler(dataSource); </code></pre> <p>In the response I have the file encoded using Base64 and no attachments.</p> <p>Is it possible to change the settings of Ivy server (and designer if it is possible) to change the way of sending binary data so that clients get the responses with MTOM attachments and not as files encoded in Base64.</p>Andriy PetrivskyyTue, 31 May 2011 09:24:41 -0400https://answers.axonivy.com/questions/408/enable-mtom-for-ivy-web-services-processeswebservice