Friday, January 26, 2007

New data object in BPEL 10.1.3 for getVariableData

In 10.1.2 we could use the following to get variable data in bpelx:exec and custom xpaths:

Element ssn = (Element)getVariableData("input","payload","/tns:ssn");
But this seemes to have changed in 10.1.3 to

import oracle.xml.parser.v2.XMLNode
firstName = ((XMLNode) getVariableData("inputVariable","payload","/client:TestCaseProcessRequest/client:SurName")).getText();

I guess this means that the XML parser has been changed to the Oracle XDK, which is good news since it is a lot (10x) faster than the old OSS parer.

Sphere: Related Content