DataObject parser and domain

Use the DataObject domain to parse and write messages for WebSphere® Adapters and CORBA applications.

Using the DataObject domain with WebSphere Adapters

You must use the DataObject domain when you use WebSphere Adapter nodes in your message flow.

IBM® Integration Bus uses the DataObject parser to read and write message from Enterprise Information Systems (EIS) such as SAP, PeopleSoft, and Siebel. Such messages belong to the DataObject domain.

When it receives a message from an adapter, the DataObject parser constructs a message tree from the business object that it receives from the EIS. When it writes a message, the DataObject parser creates from the message tree the business object that it sends to the EIS. The DataObject parser is always model-driven, and it is guided by the XML Schemas that model the EIS business objects. The XML Schemas are created automatically from the content of a message set when the message set is added to the BAR file.

If you want to parse a message using the DataObject domain, you must:
  1. Create a message set, or locate an existing message set.
  2. Ensure that either the message set has its Default message domain project set to DataObject, or the DataObject check box (under Supported message domains) is selected, to indicate that the message set supports the DataObject domain.
  3. Create a message definition file in the message set to represent your EIS business object. Use the New adapter connection wizard to connect to the EIS and retrieve the Business object metadata.
  4. Add the message set to a BAR file, which generates XML Schema for the DataObject parser to use, and deploy the BAR file to the integration node.
  5. If you associate your adapter inbound or outbound message with an adapter node in your message flow, the Message model property is automatically set in the node. The Message domain property is always pre-selected as DataObject.
Tip: If a message that belongs to the DataObject domain is written to a destination other than a WebSphere Adapter, the DataObject parser invokes the XMLNSC parser to write the message as XML.

Using the DataObject domain with CORBA

You must use the DataObject domain when you use CORBA nodes in your message flow.

IBM Integration Bus uses the DataObject parser to read and write message from CORBA applications. Such messages belong to the DataObject domain.

For information about how to build the tree under the DataObject domain for use with CORBA, see CORBA operation parameters and IDL data types.