Creating Complex Local Temporary Variables in OIC by John Graves

image

Introduction

Over the past couple of years, I have been involved in more and more projects and proofs-of-concept moving assets from Oracle SOA Suite to Oracle Integration Cloud.

Now it is important to note that these are quite different products and serve different needs.  SOA Suite is a very extensive tool which allows you to create apps, user interfaces, integrations and much more.  Oracle Integration Cloud (OIC) is more focused on just integration.  However, many companies have used SOA Suite simply for integration purposes and making the move to OIC attractive.

There are many actions in the world of BPEL that don’t yet exist in OIC, but one that is particularly troublesome is the lack of local variables.  It is often convenient in BPEL to use a local variable to make future mappings easier in the integration.  SOA Suite’s BPEL lets you create arbitrary variables of any shape and size based on a schema definition.  In OIC, local variables are either a string or based on a trigger or invoke operation.

Data Stitch

The new Data Stitch action almost gets us there, but again, the stitch variable must be a type already defined by a trigger or invoke.  You can’t define a schema for the variable if it does not already exist.

Solution

STAGE FILE to the rescue!!!

As you may know, you can use the stage file action to create a file on the local, in-memory, temporary filesystem.  This is very handy when manipulating files, performing zip and unzip operations and preparing files for file based integrations such as ERP Cloud.  But it can also be used to create temporary, local variables! Read the complete article here.

PaaS Partner Community

For regular information on Oracle PaaS become a member in the PaaS (Integration & Process) Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook clip_image002[8][4][2][2][2] Wiki

Technorati Tags: SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress

About Jürgen Kress
As a middleware expert Jürgen works at Oracle EMEA Alliances and Channels, responsible for Oracle’s EMEA Fusion Middleware partner business. He is the founder of the Oracle SOA & BPM and the WebLogic Partner Communities and the global Oracle Partner Advisory Councils. With more than 5000 members from all over the world the Middleware Partner Community is the most successful and active community at Oracle. Jürgen manages the community with monthly newsletters, webcasts and conferences. He hosts his annual Fusion Middleware Partner Community Forums and the Fusion Middleware Summer Camps, where more than 200 partners get product updates, roadmap insights and hands-on trainings. Supplemented by many web 2.0 tools like twitter, discussion forums, online communities, blogs and wikis. For the SOA & Cloud Symposium by Thomas Erl, Jürgen is a member of the steering board. He is also a frequent speaker at conferences like the SOA & BPM Integration Days, JAX, UKOUG, OUGN, or OOP.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: