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

Testing the integration

Test the completed inbound integration using the Inspector.

After you build and link the input and output of the required components as instructed in the preceding procedures, you can test the completed inbound integration using the Inspector in IBM Process Designer and a utility such as soapUI.


Procedure

  1. Open the simple BPD created per the instructions in Adding a message event to a BPD.

  2. Click the Run icon in the upper right corner of the BPD diagram. (If you need detailed instructions for using the Inspector, see Stepping through a process.)

  3. When IBM BPM prompts you to change to the Inspector interface, click Yes.

    Click the check box if you want IBM Process Designer to change interfaces without prompting for approval.

  4. From the Process Instances tab, click the received task for Step 1 and then click the run icon (

    ). The coach for the activity, which is the default Human service, opens in a browser.

  5. Click the Done button in the Coach to complete the first step.

  6. Click the refresh icon () in the toolbar. You can see that the process instance is waiting for the incoming message event.

  7. Using your SOAP utility, such as soapUI, point to the WSDL URI for the KickTheBPD inbound web service created per the instructions in Create an inbound web service.

  8. In your SOAP utility, initiate a request to the doKick method. In the someString parameter for the method, provide the Instance ID for the currently active instance, which you can see in the Process Instances tab in the Inspector.

    For example, in the preceding image, the instance ID of the active instance is 4.

  9. Click the Refresh icon in the Inspector toolbar. You should see that Step 2 has been received, meaning that the message event was successfully processed and the instance is able to move to the next step.

  10. Click the Step 2 task to select it and then click the Run task icon.

  11. The Coach for the activity, which is the default Human service, opens in a browser. Click the Done button in the Coach to complete the second step.

  12. Click the Refresh icon in the Inspector toolbar. You should see that the task for Step 2 is closed and the process instance has a status of Complete, indicating that the BPD instance has completed successfully.

Building a sample inbound integration