New Composite Title Function in 12c

New Function in Oracle 12c

In Oracle 11g, if one is defining the SOA instance title for a particular service/composite using function setCompositeInstanceTitle then they need to use setFlowInstanceTitle function in Oracle 12c, with a namespace as ‘oraext’.

Syntax Difference:

11g:

<extensionActivity>

<bpelx:exec name=”SetCompositeName” language=”java”>       

<![CDATA[setTitle((String)getVariableData(“compositeTitle”));setCompositeInstanceTitle((String)getVariableData(“compositeTitle”));]]>

</bpelx:exec>

</extensionActivity>

12c:

<extensionActivity>

<bpelx:exec name=”SetCompositeName” language=”java”>

<![CDATA[setTitle((String)getVariableData(“compositeTitle”));oraext:setFlowInstanceTitle((String)getVariableData(“compositeTitle”));]]>

</bpelx:exec>

</extensionActivity>

Problem

In a scenario when we have one service calling another service on the same 12c SOA server then the title for both the services are replaced with the title held by the service that is invoked at the end.

Solution

  1. One needs to customise and choose the title depending on the common schema names held by all the sub-services
  2. One needs to set a composite title in the first/parent service and remove the function of setting the composite title from all the other sub-services
  3. One needs to set a composite title in the last service and remove the function of setting the composite title from all the initial services

NOTE: Choose wisely depending on your requirements.

Join the Conversation

  1. Unknown's avatar
  2. Pranita Wagh's avatar
  3. gsfmthotmailcouk's avatar

3 Comments

Leave a comment

Design a site like this with WordPress.com
Get started