Setting up your environment

This section describes how to prepare your environment to work with the examples. In what follows, sample_folder refers to the folder in which the examples reside, andWBI_folder refers to the folder containing your current IBM WebSphere Business Integration installation.

  1. Create the queues This tutorial requires that six local queues be defined in WebSphere MQ Workflow queue manager. You create these either via the WebSphere MQ Explorer application or by typing RUNMQSC FMCQM at the command line and issuing the following commands:
  2. Create business object definitions--optional Business object definition files for the WebSphere MQ Workflow data structures already exist, but performing this step demonstrates the FDLBORGEN utility, which converts data structures to business objects. To use this utility:
    1. From a command line, change to directory WBI_folder/connectors/WebSphereMQWorkflow/utilities
    2. Enter the following:
      FdlBorgen -isample_folder/WebSphereMQWorkflow_Samples.fdl -
      osample_folder/SampleItem.in -nSampleItem -pMQWF_Structure_ -r3.1.0
      
      FdlBorgen -isample_folder/WebSphereMQWorkflow_Samples.fdl -
      osample_folder/SampleItemOrder.in -nSampleItemOrder -pMQWF_Structure_ 
      -r3.1.0
  3. Load the example business objects into the repository:
    1. Start IBM WebSphere ICS.
    2. Create an Integration Component Library inside the WebSphere Business Integration System Manager.
    3. Import the Sample_MQWF_Order_Objects.jar from the Samples folder into the Component Library.
      Note:
      This file is located in the WBI_folder/connectors/WebSphereMQWorkflow/Samples folder.
    4. Confirm that the example business objects have been loaded.
  4. Load the example collaboration template and collaboration objects into the repository: Similarly, using your WebSphere Business Integration System Manager, import the repository file named, sample_MQWF_Order_Collaborations.jar, located in the WBI_folder/connectors/WebSphereMQWorkflow/Samples folder, into your Integration Component Library.
  5. Compile the collaboration template Using your WebSphere Business Integration System Manager, right-click the folder labeled Collaboration Templates and select Compile all from the drop down list.
  6. Restart IBM WebSphere ICS Reboot InterChange Server to ensure that all changes take effect. Use System Monitor to ensure that all of the collaboration objects and connector controllers are in a green state.

Copyright IBM Corporation 2003, 2005. All Rights Reserved.