Reliable RPC for XML/SOAP Wrapper


Introduction to Reliable RPC

Reliable RPC is used to send messages to a persisted Broker service. The messages are described by an IDL program and contain only IN parameters. The client interface object and the server interface object are generated from the IDL file, using the EntireX XML/SOAP Wrapper. For the generation there are no options to set.

Reliable RPC is enabled at runtime. The client has to set the mode for reliable RPC.

For XML/SOAP Wrapper, the only supported mode is AUTO_COMMIT, which commits each message directly after sending it.

The server is implemented and configured in the same way as for normal RPC.

Writing a Client

The client has to set the parameter exx-reliable in the HTTP header or in the XML/SOAP payload. See The HTTP Interface for list of supported HTTP headers and parameters.

Broker Configuration

A Broker configuration with PSTORE is recommended. This enables the Broker to store the messages for more than one Broker session. These messages are still available after Broker restart. The attributes STORE, PSTORE, and PSTORE-TYPE in the Broker attribute file can be used to configure this feature. The lifetime of the messages and the status information can be configured with the attributes UOW-DATA-LIFETIME and UOW-STATUS-LIFETIME. Other attributes such as MAX-MESSAGES-IN-UOW, MAX-UOWS and MAX-UOW-MESSAGE-LENGTH may be used in addition to configure the units of work. See Broker Attributes.