Installation of the sample scenario for interChange server

  1. Set up IBM Corporation TPI server:
    1. Start the TPI Administrator Tool on the IBM machine.
    2. From the Company Profiles tab, import the company profile from the file: %CROSSWORLDS%\connectors\TPI\samples\WebSphereICS\IBM\IBMCorporation_company.xml.
    3. Leave the import password blank.
    4. Also from the Administrator Tool, select the partners tab, and import the partner profile from the file: %CROSSWORLDS%\connectors\TPI\samples\ WebSphereICS\IBM\IBMTradingPartner_partner.xml.

      The company identification for this TPI Server will be IBM

    5. Open the properties for the partner profile, and navigate to the bundled HTTP under the Outbound Transport tab. Change the URL from "http://IBMHost:4080/exchange/IBM" to fit your machine name.
    6. Update the TPHost to the name of the IBM trading partner machine.
  2. Set up IBM Trading Partner TPI server:
    1. Start the TPI Administrator Tool on the IBMTP machine.
    2. From the Company Profiles tab, import the company profile from the file: %CROSSWORLDS%\connectors\TPI\samples\WebSphereICS\ IBMTP\IBMTradingPartner_company.xml.
    3. Also from within the Administrator Tool, select the partners tab, and import the partner profile from the file: %CROSSWORLDS%\connectors\TPI\samples\ WebSphereICS\IBMTP\IBMCorporation_partner.xml.

      The company identification for this TPI Server will be IBMTP.

    4. Open the properties for the partner profile, and navigate to the bundled HTTP under the Outbound Transport tab. Change the URL from "http://IBMHost:4080/exchange/IBM" to fit your machine name.
    5. Update the IBMHost to the name of the IBM machine.
  3. Load business objects into the repository:
    1. Start WebSphere InterChange Server from the IBM machine.
    2. Using the Business Object Designer, load the repository file:
      Sample_TPI_Order_Objects.in
       

      from the

      %CROSSWORLDS%\connectors\TPI\samples\WebSphereICS\IBM
       

      folder.

    3. Confirm that ten business objects have been loaded.
  4. Load connectors into the repository:
    1. Using Connector Configurator, load the repository file:
      Sample_TPI_Order_Connectors.in
       

      from the

      %CROSSWORLDS%\connectors\TPI\samples\WebSphereICS\IBM
       

      folder.

    2. Confirm that the TPI Connector and and PortConnector definitions have been loaded.
  5. Configure TPI Connector:
    1. Use your System Manager to select the TPI Adapter definition and launch the Connector Designer. Modify the following adapter configuaration properties to fit your file structure. If they don't exist, create these paths and files:
      • TradingPartnerConfigurationFile
      • MetaEventDir
         
      • DocumentOutDir
         
      • ArchiveProcessedDocDir
         
  6. Load collaboration objects and templates into the repository:
    1. Use your System Manager to load the repository file labeled
      Sample_TPI_Order_Collaborations.in 
       

      located in the

      %CROSSWORLDS%\connectors\TPI\samples\WebSphereICS\IBM 
       

      folder.

    2. Confirm that the
      Order_PassThrough
       

      template definition, and the

      Port_To_TPI
       

      and

      TPI_To_Port
       

      collaboration objects have been loaded.

  7. Compile the collaboration template. Using your system manager, select the Collaboration Templates folder, and then select Compile All.
  8. Restart the WebSphere InterChange Server.

Running the service call request scenario

Complete these steps to run the service call scenario.

  1. On the IBM machine:
    1. Start the WebSphere InterChange Server, and then start the adapter for TPI. (This automatically starts the TPI server.)
    2. Start one instance of the Visual Test Connector.
  2. On the IBMTP machine: Start the TPI server.
  3. Simulate the Port Connector:
    1. Use the Test Connector to define a profile for PortConnector.
    2. Select Connect Agent from the Test Connector's file menu to begin simulating the agent.
  4. Load the test data:
    1. Use the Visual Test Connector simulating the PortConnector, and select Load BO from the Edit menu.
    2. Select and load the file:
      %CROSSWORLDS%\connectors\TPI\samples\WebSphereICS\IBM\sampleOrderData.bo
       
  5. Send the test data:
    1. Use the Visual Test Connector simulating the PortConnector, and select the loaded test Business object.
    2. Select Send from the Request menu.
  6. Confirm successful processing by checking the XLMin folder on the IBMTP machine for the XML document.

Running the polling scenario

Complete these steps to run the polling scenario.

  1. On the IBM machine:
    1. Start the WebSphere InterChange Server, and then start the adapter for TPI. (This automatically starts the TPI server.)
    2. Start one instance of the Visual Test Connector.
  2. On the IBMTP machine: Start the TPI server.
  3. Simulate the Port Connector On the IBM machine:
    1. Use the Test Connector to define a profile for PortConnector.
    2. Select Connect Agent from the Test Connector's file menu to begin simulating the agent.
  4. Send the sample data:
    1. On the IBMTP machine:Move the following file into the XMLout directory:
      %CROSSWORLDS%\connectors\TPI\samples\WebSphereICS\IBMTP\sampleOrderData.xml 
       
    2. The TPI server running on the IBMTP machineshould process this event and hand it off to the adapter for TPI running on the IBM machine.
  5. Accept the request using the Visual Test Connector simulating the PortConnector. Reply with a successful response.
  6. Confirm successful processing by checking the data in the accepted request.

Copyright IBM Corp. 1997, 2004