Database Reference
In-Depth Information
public static Object employeesalaryfilter(
IXPathContext
iXPathContext,
List list
) throws
XPathFunctionException {
return
String.valueOf(System.currentTimeMillis());
}
Write a class that implements the IXPathFunction interface as follows:
package oracle.fabric.common.xml.xpath;
public interface IXPathFunction
{
/** Call this function.
*
* @param context The context at the point
in the
* expression when the function is
called.
* @param args List of arguments provided
during
* the call of the function.
*/
public Object call(IXPathContext context,
List args) throws
XPathFunctionException;
}
Registering with SOA Suite
The custom XPath function JAR must be added explicitly as it is not part of the SOA
composite application.
Define the functions that should be shared by all of the components in ext-soa-
xpath-functions-config.xml . Define the functions that are specific to BPEL
Search WWH ::




Custom Search