Broadcasting Master Index Updates to External Systems

Creating a BPEL Process to Access the Master Index Topic

The BPEL process defines the flow of data from the JMS Topic to the external systems that share data with the master index application using the web service definitions you created earlier. The BPEL process created below uses a File binding type. Your process might differ from this based on the binding type you use.

Perform the following steps to create and configure the BPEL process:

ProcedureTo Create the BPEL Process

  1. Complete the procedure described in Creating a Web Service Definition for the File Binding Component.

  2. In the Projects window, right-click the BPEL project, point to New, and then select BPEL Process.

    The New BPEL Process Wizard appears.

  3. Enter a file name and location for the BPEL Process, and then click Finish.

    The business process appears in the Business Process Editor.

  4. Continue to To Create Partner Links.

ProcedureTo Create Partner Links

  1. Create a new Partner Link for the JMS web service definition by doing the following:

    1. In the BPEL Designer Palette, click Partner Link and drag it to the drop point on the left.

      The Create New Partner Link window appears.

    2. Fill in the information for the Partner Link.

      • Enter a unique name for the Partner Link.

      • For the WSDL file, select the JMS Binding Component WSDL file you created in Creating a Web Service Definition for the JMS Binding Component.

      • Select the option button next to Use Existing Partner Link Type.

      • Accept the default values for the Partner Link Type, My Role, and Partner Role fields.

    3. Click OK.

  2. Create a new Partner Link for the File web service definition by doing the following:

    1. In the BPEL Designer Palette, click Partner Link and drag it to the drop point on the right.

      The Create New Partner Link window appears.

    2. Fill in the information for the Partner Link.

      • Enter a unique name for the Partner Link.

      • For the WSDL file, select the File Binding Component WSDL file you created in Creating a Web Service Definition for the File Binding Component.

      • Select the option button next to Use Existing Partner Link Type.

      • Accept the default value for the Partner Link Type, My Roles, and Partner Role fields.

    3. Click OK.

  3. Continue to To Create a Receive Activity.

ProcedureTo Create a Receive Activity

  1. From the BPEL Designer Palette, drag a Receive activity to the drop point.

  2. Click the Edit icon above the new Receive activity.

  3. Enter a name for the activity.

  4. In the Partner Link field, select the JMS Partner Link you created earlier.

  5. In the Operation field, select the JMS subscriber operation.

  6. Next to the Input Variable field, select Create.

    The New Input Variable dialog box appears.

  7. Enter a name for the variable and select the current BPEL process as the Scope.

  8. Click OK on both dialog boxes.

  9. Continue to To Create an Invoke Activity.

ProcedureTo Create an Invoke Activity

  1. From the BPEL Designer Palette, drag an Invoke activity to the drop point beneath the Receive activity just created.

  2. Click the Edit icon above the new Invoke activity.

  3. Enter a name for the activity.

  4. In the Partner Link field, select the File Partner Link you created earlier.

  5. In the Operation field, select the File operation.

  6. Next to the Input Variable field, select Create.

    The New Input Variable dialog box appears.

  7. Enter a name for the variable and select the current BPEL process as the Scope.

  8. Click OK on both dialog boxes.

  9. Continue to To Create an Assign Activity.

ProcedureTo Create an Assign Activity

  1. From the BPEL Designer Palette, drag an Assign activity to the drop point between the Receive and Invoke activities.


    Tip –

    The Assign activity is listed under Basic Activities in the Palette.


  2. Double-click the Assign activity.

    The BPEL Mapper appears.

  3. Map the input value from the Receive activity's variable to the Invoke activity's variable.

  4. Save and close the BPEL Process.

  5. Continue to Creating a Composite Application for Master Index Broadcasts.