Using Mediation to Transform and Route an Event to TIBCO BPM

TIBCO Business Studio can be used to create a mediation flow that routes the incoming request to the correct service implementation (either US or UK service) based on the country name contained in the incoming request message.

Prerequisites

You should be familiar with the basics of designing, implementing and deploying composites and mediation components using TIBCO Business Studio. If you are not familiar with these things, you should run through the following tutorial before attempting this one:

  • How to Create and Package a Content-Based Routing Mediation Flow - You can find this tutorial in the TIBCO Business Studio Help under Help > Cheat Sheets > TIBCO SOA Development > Mediation, and elsewhere.
  • Each WSDL used in this tutorial implements a call to an Apache Axis2 web service. Before you begin, you must deploy these web services to a J2EE server (such as Apache Tomcat) that is running version 1.4.1 of the Axis2 engine.

Procedure

  1. Download the AddressServiceAARs.zip file to a temporary directory and unzip it. The zip file contains the following Axis2 web service archives:
    • AddressService.aar
    • UKAddressService.aar
    • USAddressService.aar
  2. Deploy the three aar files to a J2EE server that is running the Axis2 engine, version 1.4.1.

    See http://ws.apache.org/axis2/index.html for more information about Axis2.

  3. Make sure that these web services have been properly deployed and are running.

Result

If you wish to deploy and test a project that invokes the services implemented in this project, you will need to have completed the How to Call a Web Service From a Process tutorial.