Process Cloud Service Communicating to Database as a Service (DbaaS) by Santosh Shetgar

image

Oracle Database Cloud Service provides two offerings, Database as a Service and Database Schema Service. In this example, I will be creating sample business process using Oracle Process Cloud Service (PCS) and expose RESTful webservices on the Oracle Database Cloud Service (Oracle Database Cloud – Database Schema Service). PCS will invoke DBaaS over REST API exposed at DBaaS and provides response to the PCS.

In the following step I have quickly created RESTful service in the DBaaS. In the step 2 I will create PCS application which calls DBaaS REST API to retrieve the results from the database.

Step 1 – Creating RESTful service using DBaaS.

Create INTG_TTK table with following details  in the  Oracle Database Cloud – Database Schema Service.

For the created table, RESTful web service can be created using DBaaS and exposed as REST service.

In  the DBaaS , navigate to SQL Workshop RESTful services and provide following inputs to expose as service.

Once the RESTful services are created, it’s ready to consume and appear as follows in the DBaaS RESTful services.

Step 2 – Creating PCS Application and Invoke DBaaS REST service.

Create PCS application with message type as start and it can be synchronous service. Configure the service task in the application with the above create RESTful service. Here’s how it look alike:

The service task will be configured with REST service and it has to be configured in the PCS connectors.configuration of REST connector in the PCS look alike below.

Here, In the service task i have configured the REST connector. REST connector can be configured as: Read the complete article here.

SOA & BPM Partner Community

For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.

Blog Twitter 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

Advertisements

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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: