Hi. It may not be exactly what you are looking for perhaps following link from developer's guide could help.
Process multiple determinations within the same Assess request
The Determinations Server is able to process multiple determinations within the same Assess request. To do this you must:
- Design your rulebase to concurrently determine multiple outcomes.
- At runtime, construct your request to send all the entities you want to reason on, and all the outcomes that you want.
You can design a rulebase in such a way that it can make multiple determinations concurrently if the determinations are attributes or, less commonly, inferred relationships belonging to a non-singleton (and not the global) entity.
Once the outcomes belong to an entity, it is possible to create multiple entities and infer the values for all entities at once.
This is not what I am looking for, this simply covers getting a response per entity.
I am looking for either 2 SOAP responses for 1 request. Or logging a decision report separately from the standard SOAP response that is going back to the requester.
There are a couple of ways to do this:
1. Use known-outcome-style and unknown-outcome-style
You can send a request with a different outcome-style depending on whether the value is known or unknown. see Assess Operation Request and Response elements
2. Use multiple requests
If you send the first request, asking for the value only, and then if you decide that you want a decision report based on that response. You can send the request again, this time asking for the decision report. Its a simple modification of the outcome-style attribute.