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. For more information see Writing Advanced Applications with the XML/SOAP Wrapper.

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 UWTIME and UWSTAT-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.