uCosminexus Application Server, Web Service Development Guide
The byte[] and other Java types can be used in the MTOM/XOP format attachment depending on the data to be sent and received. The following table describes the Java types, which can be used and the data that can be sent and received through an attachment in the MTOM/XOP format.
Table 30-11 Java types and data that can be sent and received through an attachment in the MTOM/XOP format
| No. | Java type | Data that can be sent and received |
|---|---|---|
| 1 | byte[] | All the data can be sent and received. |
| 2 | javax.activation.DataHandler | |
| 3 | java.awt.Image | Image data can be sent and received. |
| 4 | javax.xml.transform.Source | XML file can be sent and received. |
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.