Business processes can exchange business messages with trading partners via ebXML or RosettaNet. These business messages include one or more attachments containing XML or non-XML data.
Note: | For ebXML messages, each attachment represents a single payload in the ebXML message. |
Attachments can be any of the following Java types (see Table 23-1):
Attachments can also be typed XML or typed MFL data as long as you specify the corresponding XML Bean or MFL class name in the parameter.
If you use arrays as attachment type, certain restrictions apply to the order of your arguments. For more informations, see Specifying XmlObject and RawData Array Payloads.
For business messages containing both untyped XML and non-XML data, the message payload is represented as an array of MessageAttachment
objects: MessageAttachment[]
The following APIs in the com.bea.data package provide access to individual MessageAttachment
objects within the array (see Table 23-2):
For more information about using the message attachment APIs, see the interfaces listed in the com.bea.data
package in the
Javadoc.
Guide to Building Business Processes