IBM BPM, V8.0.1, All platforms > Create processes in IBM Process Designer > Modeling processes > Integrating with web services, Java and databases > Create inbound integrations > Building a sample inbound integration

Create a caller service

Create a service with appropriate inputs to call the undercover agent (UCA) to send the event.

The next step in completing this sample inbound integration is to create an Integration service to call the UCA to send the event when the inbound web service (created in the following section) is called.


Procedure

  1. Create an Integration service and name it Inbound WS Handler or something similar. (If you need detailed instructions, see Create a service.)

  2. Drag an Invoke UCA component from the palette, name it My UCA and place it between the Start Event and End Event in the service diagram.

  3. Use the Sequence Flow tool to connect the service components on the diagram.

  4. Click the Invoke UCA component in the diagram.

  5. Click the Variables tab, and then click the Add Input button to add the someString variable as an input variable.
  6. Save the changes.

  7. Select the Implementation option in the properties.

  8. Click the Select button next to the Attached Undercover Agent field and pick the Undercover Agent created in the preceding procedure, My UCA.

  9. Select the Data Mapping option in the properties. The Input Mapping is automatically set to the someString variable from the UCA.

  10. In the field next to the variable, type tw.local.someString. This sets the input value of the UCA to the local value of the someString variable, which enables you to test the implementation in the Inspector as instructed in Testing the integration.

    The someString variable is available only if you create the attached service as instructed in Create an attached service and the UCA as instructed in Create an undercover agent before performing the steps in this procedure.

  11. Save your work.

Building a sample inbound integration