PaaS Partner Community

  • June 2, 2014

Dynamic endpoint binding in Oracle SOA Suite by Cattle Crew

Juergen Kress
PaaS Partner Adoption

Why is dynamic endpoint binding needed?
Sometimes a BPEL process instance has to determine at run-time which implementation of a web service interface is to be called. We’ll show you how to achieve that using dynamic endpoint binding.

get_available_carsLet’s imagine the following scenario: we’re running a car rental agency called RYLC (Rent Your Legacy Car) which operates different locations. The process of renting a car is basically identical for all locations except for the determination which cars are currently available. This is depicted in the following diagram:

There are three different implementations of the GetAvailableCars service. But how can we achieve calling them dynamically at run-time using Oracle SOA Suite?

How to dynamically set the service endpoint
There are just a couple of implementation steps we need to perform to enable dynamic endpoint binding:

  • create a new SOA project in JDeveloper
  • add a CarRental BPEL process
  • add an external reference to the GetAvailableCars service within the composite
  • create a DVM file containing the URI’s by which the services for the different locations can be accessed
  • set the endpointURI property on the Invoke component calling the GetAvailableCars service (value is taken from the DVM file)

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

Join the discussion

Comments ( 2 )
  • George Vlahakis Friday, January 9, 2015


    I am trying to read the complete article with more details from http://sgrosjean.blogspot.de/2013/01/how-to-set-endpointuri-dynamically-in.html

    but i cannot reach it.
    It says that only invited readers can reach this article.

    Please can you provide me with more information about dynamic binding in soa suite?

    Thank you in advance.

  • guest Friday, January 9, 2015

    Hi George

    sorry the blog is also for me no longer available.
    Good weekend Jürgen Kress

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.