Data is defined by business objects. You can create business
objects using the New Business Object wizard,
or by creating or importing XSD files.
About this task
To create a business object using the wizard, follow these
steps:
Procedure
- Click .
- The New Business Object wizard window
opens. Choose an existing module or library or click New to
create one.
Restriction: Do not use the following keywords as
variable names for business objects:
- childrenCache
- declaredClass
- inherited
- items
- listAllSelectedIndices
- _objectPath
- _systemCallbackHandle
Using these keywords might cause errors that are difficult
to diagnose.
- Optional: By default, business objects are created
as global complex types. If your integration scenario requires a global
element in the schema file, select the option Create the
business object as an element. If you select this option,
the business object is created as a global element with an anonymous
type, for example
<xsd:element name="MyBusinessObject">
<xsd:complexType>
<xsd:sequence />
</xsd:complexType>
</xsd:element>
For more information about manually
creating a global element that is based business objects and why you
would want to do this, see IBM Technote 1399071.
- To pre-populate your business objects, click Next instead
of Finish.
- The Derived Business Object window
opens. If they are available, you might choose to populate the new
business object with fields from one or more existing business objects.
- Click Finish. The
new business object is created and available in the Business Integration
view.
Other business object creation options
You
can manually create and edit the XSD files using a text editor or
XSD editor. Or, you can import XSD files into WebSphere Integration
Designer. This scenario is supported, provided that the file that
was created in this manner is a properly formed schema and contains
an XSD complex type definition.