JBoss.org Community Documentation

5.24.1.1. Supported MTOM parameter types

image/jpeg

java.awt.Image

text/xml

javax.xml.transform.Source

application/xml

javax.xml.transform.Source

application/octet-stream

javax.activation.DataHandler

The above table shows a list of supported endpoint parameter types. The recommended approach is to use the javax.activation.DataHandler classes to represent binary data as service endpoint parameters.

Note

Microsoft endpoints tend to send any data as application/octet-stream. The only Java type that can easily cope with this ambiguity is javax.activation.DataHandler