uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

30.7 Data that can be sent and received and the Java types that can be used in the attachment (MTOM/XOP format)

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.
Organization of this section
30.7.1 How to create Java objects for data to be sent
30.7.2 How to acquire the received data