Message Parts (BPM)

A message part represents a sub-element of a message format. For example, an invoice form can be modeled as a message format, with the following message parts: product information, customer information, and payment information.

In most languages, a message part lets you describe the message format in a simple way. In execution languages, it represents a portion of the WSDL (Web Services Description Language) message.

Creating a Message Part

You create message parts on the Definition tab of the message format property sheet, by selecting the Message Parts radio button, and then using the Add a Row tool. Enter a name and code for each part and, if appropriate, click the Properties tool to specify additional properties.

Message Part Properties

To view or edit a message part's properties, double-click its Browser or list entry. The property sheet tabs and fields listed here are those available by default, before any customization of the interface by you or an administrator.

The General tab contains the following properties:

Property

Description

Parent

[read-only] Specifies the parent message format.

Name/Code/Comment

Identify the object. The name should clearly convey the object's purpose to non-technical users, while the code, which is used for generating code or scripts, may be abbreviated, and should not normally include spaces. You can optionally add a comment to provide more detailed information about the object. By default the code is generated from the name by applying the naming conventions specified in the model options. To decouple name-code synchronization, click to release the = button to the right of the Code field.

Stereotype

Extends the semantics of the object. You can enter a stereotype directly in this field, or add stereotypes to the list by specifying them in an extension file.

Data type

Specifies the data type of the message part. You can choose from a list of simple data types or click the Select Object tool next to the list to select an XML element, a simple or a complex type from the XML models attached to a service provider via an XSD document.

Element type

Specifies whether the variable is an XSD element type. If you have defined a complex type (XSD element) in the Data type list, you should select this check box for the complex type element to be generated. The value of the data type is the name of the element prefixed by the namespace.

Keywords

Provide a way of loosely grouping objects through tagging. To enter multiple keywords, separate them with commas.