O'Reilly logo

BPEL and Java Cookbook by Jurij Laznik

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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"/> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required