Determinations Server supports the concept of a "Custom Assess Service". This feature is designed to allow the retrieval of data from an external data source (web service, database, etc.) in between calls to the OPA Assess API. This requires custom coding.
The most common pattern is to call OPA from within a BPM or BPEL process (or directly, via a point-to-point integration).
I have managed to deployed the determinations-server.war with the rulebase to WLS. I am also able to create a web service proxy to send request to ODS and get the response returned. However, my doubt now is I do not know how to consume it in BPM. In my BPM process flow, I tried creating a web service call to ODS but it did not work, as in the flow runs and completed with success but there were no response returned from ODS due its complex type which couldn't be mapped directly to the data object type created in BPM.
I am wondering if there is any samples or tutorials available which will guide me in understanding this topic better. Any help is much appreciated.
Many thanks in advance!
You could try using the Specific assess service for BPM. The specific assess service will give you an XML schema named for the entitites, attributes and relationships in your rulebase.
Pro: it should be easier to map in a BPM process.
Con: this schema will change if you change the entitites, attributes and relationships in your rulebase.
See "Decide whether to use the generic or specific data model for batch processing" in Oracle Policy Automation Developer's Guide