November 8, 2010

getDomainId() no longer working in SOA Suite 11g

The BPEL XPath extension function ora:getDomainId() returned the domain name in SOA Suite 10g, however, in SOA Suite 11g, it returns NULL.

The function is documented and supported in 11g as shown here:
http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_appx_functs.htm
The concept of BPEL domains no longer exists in 11g, and Oracle apparently has kept the function (although it does nothing) in order not to break migrated code.

If you are looking for a function that will return the WebLogic domain or the partition name, you are out of luck.

3 comments: