Setting up your environment

This section describes how to prepare your environment to work with the samples. In what follows, sample_folder refers to the folder in which the samples 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 sample business objects into the repository Start IBM WebSphere ICS and, using Business Object Designer, select File"Open From File. Load the repository file named Sample_MQWF_Order_Objects.in (This file is located in the WBI_folder/connectors/WebSphereMQWorkflow/Samples folder.) Confirm that the sample business objects have been loaded.
  4. Load the sample collaboration template and collaboration objects into the repository Using your WebSphere Business Integration System Manager, select select File"Open From File. Load the repository file named sample_MQWF_Order_Collaborations.in (located in the WBI_folder/connectors/WebSphereMQWorkflow/Samples folder).
  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 Corp. 1997, 2003