Monday, January 26, 2009

How to Fix/Avoid subLanguageExecutionFault in BPEL process?

subLanguageExecutionFault occurs during the execution of BPEL process in some XPath expressions due to -
  • assigning incompatible data types
  • invalidating any restrictions on the element - e.g. string legnth exceeding
  • missing an arguement in Transform activity's source operation - ora:processXSLT()

To avoid or to fix the subLanguageExecutionFault consider following pointers -

  1. Make sure the data types of the source and target are compatible and within the restrictions
  2. Make sure while editing the Transformation in BPEL source by double clicking the Transform activity, the payload part of both Source and Targe variable is populated and then only Edit button is clicked
  3. Verify that the expression for Transform - ora:processXSLT('Transformation1.xsl','inputVaribale','payload') contains the arguement 'payload' in the BPEL Source.

By taking care of above points you can avoid or fix the subLanguageExecutionFault .

Cheers!!!

Sagar