Once you have created the business object definitions the connector is to
support, you must import them into WebSphere MQ Integrator Broker's
Message Repository Manager (MRM) using the XML Schema message format
importer. You use Business Object Designer to generate the files used
by the importer to import each business object definition. The importer
converts the business object definitions from XML Schema format into WebSphere
MQ message sets, which are then stored in the MRM. The importer also
generates a message set file for each business object
definition.
Tip |
---|
If the adapter user guide for your connector indicates that you need to
create meta objects, you create message set files for them and load them into
Connector Configurator, in the same manner as for business object
definitions. |
For general information about the XML Schema message format importer, see
WebSphere MQ Integrator Broker: Working with
Messages
To load the business object definitions into the MRM, do the
following:
- If needed, launch Business Object Designer.
- Perform steps 3 through 13, for each BO definition you need to
load.
- Open the business object definition you have created or
modified. If the business object definition includes child business
object definitions, then open the parent business object definition.
- If the business object definition includes child business
object definitions, select File > Save All > To File to save
both the parent and child business object definitions.
- If the business object definition has no child business
object definitions, select File > Save > To File.
- In the Export Business Object Definition dialog box, click Use
profile to open the Deployment to WMQI, WMQI Connection Properties
dialog box.
- Specify any necessary database information values.
- To save this information to populate WMQI Connection Properties for other
business object definitions:
- Click New.
- Enter a profile name.
- Click Save.
- Click OK.
- Click Generate files for deployment of the exported file(s) to
WMQI.
- Save the file or files in.xsd format,
which generates:
- The .xsd files for each parent business object
definition and each of its children
- The file
ImportBusinessObjectName.bat, the
batch file that invokes the XML Schema message format importer to import that
business object definition
- The parameter file, BusinessObjectNamePRM.txt
needed by the importer to import that business object definition.
- Navigate to the directory containing the generated file,
ImportBusinessObjectName.bat, and run it.
- At completion, the message set file,
BusinessObjectNameMSetIdToSpecNames.set is
generated for the top-level business object definition in the same directory
as the business object definition files.
For more information about using Business Object Designer, see the
Business Object Development Guide.
- Important:
- If Business Object Designer and WebSphere MQ Integrator Broker Control Center
are on separate machines that do not use a shared file system, you need to
copy the generated files to the machine where WebSphere MQ Integrator Broker
is running before you proceed with the next step.
Next, you need to add the message sets and messages to your workspace in
the WebSphere MQ Integrator Broker Control Center and assign the message sets
to WebSphere MQ Integrator Broker. For more information about
performing these tasks, see WebSphere MQ Integrator Broker: Using
the Control Center and WebSphere MQ Integrator Broker:
Administration Guide.
