Saturday, August 01, 2009

SOA 11g: Preferences

As we used preferences in BPEL very often, we expeted to use this in 11g as well. But within the BPEL editor and in the SCA editor there is no button to apply preferences. the function ora:getPreference() is available, but were do we apply this preferences.

The solution is there and writtin in:

http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_app_deploydesc.htm#SOASE11121

Preferences can be set at composite level and these preferences are defined at particular levels; BPEL, Partnerlink.

To use BPEL properties defined the properties in composite.xml.

In the composite:

...
<property name="bpel.bpel.preference.myPreference">HelloThere</property>
</component>

In the BPEL file

ora:getPreference(myPreference)

Post a Comment