JBoss.org Community Documentation
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.
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