September 2013
Intermediate to advanced
382 pages
8h 12m
English
When using the Java Embedding activity, we need to read data from the BPEL process in order to perform the designed operation. This recipe explains how to read data from the BPEL variables.
Open the BPEL_and_Java_1_1 process and add the Java Embedding activity (ReadVar) into the BPEL process.
getVariableData function in the ReadVar code snippet:oracle.xml.parser.v2.XMLElement input_var= (oracle.xml.parser.v2.XMLElement)getVariableData("inputVariable","payload","/client:process/client:input");getVariableData returns the Object type, and in our case it is XMLElement to which we also cast the result. The XMLElement class contains convenient ...Read now
Unlock full access