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
- One needs to customise and choose the title depending on the common schema names held by all the sub-services
- 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
- 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.

Very helpful post.Helped me solve a similar problem.Thanks Dinesh
LikeLike
Interesting fact about 12c..Good to know
LikeLike
This is great – thanks for the explanation
LikeLiked by 1 person