Remote Process Invocation

Remote Process Invocation (RPI) allows you to easily share data and processes throughout multiple independently built applications. For example, if a banking or insurance application requires financial data from another application, it simply makes a call to that application to retrieve it.

There are two ways for an application to obtain the needed information without affecting its data integrity:

Request and Reply

The request and reply or request and response pattern is a procedure used for applications to communicate with each other. It's considered one of the most basic methods and it consists in a request made by the first application and a second one responding with the request information.

Using this pattern, the FintechOS platform calls the remote system and then waits for the completion to be successful. If the completion is successful, the remote system synchronously replies with the requested data. In addition to this transaction, the FintechOS platform could update its information in the database or trigger another type of event.

The below table shows you how to start the process, request the required information, and then receive a response from the remote system, to eventually use the data received and make updates within your FintechOS application.

Procedure Fit Description
Invoke REST service from a server-automation script Optimal The FintechOS platform allows you to invoke an externally hosted service by calling its exposed APIs via server-automations scripts.
Generate SOAP or OpenAPI clients. Optimal The FintechOS platform enables you to generate clients using WebAPI import capabilities:
  • Generate REST client using OpenAPI specifications of the client’s API.
  • Generate SOAP client by importing the client’s WSDL.
The generated code provides the necessary logic to call the remote service. It can be used in a server automation script
 

Fire and Forget

The fire and forget is a procedure where a request is made from an application to another with no attempt to track the response. This mean that the request reaches the network, but no other check is made.

Using this pattern, the FintechOS platform calls the remote system but doesn’t wait for the call’s successful completion. As an option, you can receive the outcome of the initial call in a separate transaction.

The below table shows you how to start the process, request the required information, and then receive a response from the remote system, to eventually use the data received and make updates within your FintechOS application.

ProcedureFitDescription
Outbound calls and CallbacksGoodCallbacks ensure a way to reduce the effect of out-of-sequence messaging. Also, they handle the below scenarios:
  • Idempotency - Outbound messages perform retry attempts in case the acknowledgment isn’t received in a timely manner.
  • Retrieving more data - An outbound message can send data only for a single object. A callback retrieves data from other related records, such as related lists associated with the parent object.