It is possible to call services asynchronously.
Each request has a unique ID. Via this ID the request is identified during the asynchronous call handling. In RequestBase a custom ID could be set. If not, a new ID will be generated.
To do a asynchronous call, the methods with the "Async" suffix need to be called. They only deliver a StatusResponse with the ID of the request. The status can be requested by calling getStatus. The final result can be retrieved (when the computation has finished) by calling getResult. (Results are kept one hour before they are deleted).
Also notifications about the state and result of the computation are supported. They are sent via HTTP POST to a given URL. See statusChangedUrl, resultUrl, errorUrl in RequestBase (all three URL could be equal).
• getRequest • getResult • getStatus
• StatusRequest • StatusResponse • RequestDataRequest • ResultRequest
• AsyncCallFault • AsyncCallFaultCode
© 2020, Fraunhofer IVI