This content has been marked as final. Show 1 reply
You can invoke external services via two main methods in OPA. If you are looking to return a value, you could use a custom function. If you need to do something more complex, for example, modifying the value of several entities in a session, you can use an Inferencing event listener.
Both of these approaches allow you to introduce custom code. A custom function can only return a single value (and is simpler), and inferencing event listener can do, pretty much, anything.
see "Customize the inferencing cycle with custom functions and inferencing listeners" in the Oracle Policy Automation Developer's Guide (http://docs.oracle.com/html/E38272_01/toc.htm)
Edited by: frank.hampshire on Dec 20, 2012 9:49 AM