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:
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:
For more information about using the message attachment APIs, see the interfaces listed in the bea.com.data package in the Java Class Reference.
Guide to Building Business Processes
Introducing Trading Partner Integration at http://download.oracle.com/docs/cd/E13214_01/wli/docs81/tpintro/index.html
![]() |
|