Invoking third-party libraries from BPEL 1.1 process

This recipe explains how to include the code for invoking third-party libraries via the <bpelx:exec> tag in the source view.

Getting ready

We will amend the JDeveloper project from the Adding third-party libraries to JDeveloper projects recipe. We create an empty BPEL 1.1 process and leave the request and response messages unchanged.

How to do it…

To invoke a third-party library from the <bpelx:exec> tag, perform the following steps:

  1. Open the empty BPEL 1.1 process. Since the output variable is not initialized yet, add the assign activity first. The following is the code for the assign activity:
    <assign name="Assign1" xml:id="id_11"> <copy xml:id="id_12"> <from expression="string('')" xml:id="id_13"/> ...

Get BPEL and Java Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.