Answer Service (v12.2.1)
The answer service automates decisions for any policy model with a web service connection. Input and output data is described using the same data model and format as the connected web service.
WSDL
https://<site>/determinations-server/answer/soap/12.2.1/<deployname>?wsdl
Namespaces
http://xmlns.oracle.com/connector/webservice/12.2.1/data/types
http://oracle.com/determinations/server/answer/12.2.1/rulebase/types
Actions
GetInputDataDefinition, GetAnswer
Headers
Internationalization, Security
GetInputDataDefinition
When provided with an empty get-input-data-definition-request, returns a get-input-data-definition-response that describes the tables, fields and relationships that must be populated to get answers from the service.
Request
A get-input-data-definition-request contains one optional parameter.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://oracle.com/determinations/server/answer/12.2.1/rulebase/types">
<soapenv:Header/>
<soapenv:Body>
<typ:get-input-data-definition-request show-version="true"/>
</soapenv:Body>
</soapenv:Envelope>
| Parameter | Type | Description |
|---|---|---|
| show-version | xsd:boolean
|
true if version information about the policy model should be returned in the response (optional) |
Errors
For any errors that occur, the SOAP fault error message describes the problem. These messages are always in 'en-US' locale, ignoring any other locale that is set.
Response
| Parameter | Type | Description |
|---|---|---|
| version-info | VersionInfoType | Version information about the policy model, if requested. |
| data | SeedDataDescription | Returns the description of the tables that must be populated with data in order for the GetAnswer action to return results. This corresponds directly to the mapped in data for the deployed policy model. |
GetAnswer
A get-answer-request returns a get-answer-response containing the mapped out data for the deployed model.
Request
A get-answer-request must contain all the data specified by the input mapping for the policy model.
| Parameter | Type | Description |
|---|---|---|
| show-version | xsd:boolean
|
true if version information about the policy model should be returned in the response (optional) |
| data | LoadData | The input data rows, including all the fields and link references for each table as described in the response from GetInputDataDefinition. |
Errors
For error events that are raised by the policy model during a get-answer request, an Error response is returned in a SOAP fault. Error event text is translatable in the policy modeling project.
For any other errors that occur, the SOAP fault error message describes the problem. These messages are always in 'en-US' locale, ignoring any other locale that is set.
Response
| Parameter | Type | Description |
|---|---|---|
| version-info | VersionInfoType | Version information about the policy model, if requested. |
| warnings | TransactionWarningList | The list of any warning events raised by the policy model during processing. |
| tables | SubmitData | Contains all the output-mapped attributes for the policy model. If needed, this can be passed directly to the policy model's web service connection's Save action. |
| audit-reports | AuditReportList | Contains an audit report for each attribute in the policy model for which audit reporting has been configured. |