Create verb

Process logic for the Create verb.

Flow

  1. A MessageStore collaboration object is triggered by the receipt of a UCCnetGBO_storable business object.
  2. The UCCnetGBO_storable business object is copied into a high-level object called DataStoreUCCnetGBO_storable. This object is passed into the IBM® WebSphere® Business Integration Data Handler for XML. By default, it contains the application specific information needed by the data handler. The data handler outputs a string, which contains an XML representation of the UCCnetGBO_storable business object passed into the collaboration object.
  3. The MessageStore collaboration object builds an application specific business object called SerialMessage, which includes two attributes:
    • ObjectData, which is set equal to the XML output from the data handler.
    • ObjectKey, which is created from the key information in the UCCnetGBO_storable business object and the value of the OBJECT_KEY configuration property in the MessageStore collaboration object This attribute holds the unique key used to store the object in the database.
  4. The completed SerialMessage is sent to the To port of the MessageStore collaboration object, which is bound to a JDBCConnector. The JDBCConnector uses the application specific information in the SerialMessage to store it in the database. If the object already exists in the database, a ServiceCall exception is thrown and the Create operation fails.
    Note: Although multiple objects in the database with identical keys can be created, the behavior of record retrievals, updates, and deletes is unpredictable, so avoid the use of non-unique keys.

Parent topic: Overall process logic