How to set the service endPoint URI dynamically in SOA Suite 11gR1 by Sylvain Grosjean’s

Use Case :
This example demonstrates how to get the URI of the backend service from a repository and how to set it dynamically to our partnerLink (dynamicPartnerLink).

Implementation steps :

  1. Create a dvm file
  2. Create a BPEL component
  3. Add the endPointURI variable and assign the uri
  4. Set the endpointURI property in the invoke activity

1. Create a DVM file :

In order to define our repository, we are going to use DVM (Data Value Maps) :

For more explanation regarding DVM, you should read this documentation.

2. Create a BPEL Component :

First you need to implement the simple bpel process like this :
– The AssignPayload is used to set the inputvariable of our invoke activity.
– The AssignEndpointURI is used to dynamically set the endPointURI variable from our DVM repository
– The invoke activity to call the external service
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

Unknown's avatarAbout 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 comment