The DataStoreSampleObject is an example of a business object that wraps the SampleObject business object in the required structure.
The IBM® WebSphere® Business Integration Data Handler for XML requires that a business object have a specific structure in order to serialize it. The DataStoreSampleObject is an example of a business object that wraps the SampleObject business object in the required structure. A DataStore collaboration object requires the wrapper business object to have a name of the form DataStoreObjectType, where ObjectType is the type of the object which triggers the the DataStore collaboration object, such as SampleObject.
Use the DataStoreSampleObject business object as an example of the Name and App Spec Info information needed to create the required XML data handler wrapper business object for your application.
This temporary object must contain an attribute named xmlVersion with App Spec Info of type=pi, an attribute named docType with App Spec Info of type=doctype, and a single cardinality copy of the object to be converted to an XML string. See DataStore collaboration template and the Data Handler Guide for more information.
Name | Type | Key | Cardinality | App Spec Info |
---|---|---|---|---|
xmlVersion | String | type=pi | ||
docType | String | type=doctype | ||
SampleObject | SampleObject | x | 1 | SampleObject |
To examine a listing of the attributes of the DataStoreSampleObject business object, use the System Manager or Business Object Designer.
For more information on related business objects, collaboration templates, and other components, see the following:
Parent topic: PIMR business objects