Creating message sets and loading business object definitions

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:

  1. If needed, launch Business Object Designer.
  2. Perform steps 3 through 13, for each BO definition you need to load.
  3. 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.
  4. 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.
  5. If the business object definition has no child business object definitions, select File > Save > To File.
  6. In the Export Business Object Definition dialog box, click Use profile to open the Deployment to WMQI, WMQI Connection Properties dialog box.
  7. Specify any necessary database information values.
  8. To save this information to populate WMQI Connection Properties for other business object definitions:
    1. Click New.
    2. Enter a profile name.
    3. Click Save.
  9. Click OK.
  10. Click Generate files for deployment of the exported file(s) to WMQI.
  11. Save the file or files in.xsd format, which generates:
  12. Navigate to the directory containing the generated file, ImportBusinessObjectName.bat, and run it.
  13. 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.

Copyright IBM Corp. 1997, 2003