Using remote IDO method calls

The RemoteMethod static class under the Mongoose.IDO namespace encapsulates the methods and APIs that can be used within an extension class to remotely call IDO methods and retrieve values from one site to another. These calls can consist either of extension class code or stored procedures.

The context used for remote method calls depends on the current session, whether the current site uses Microsoft Distributed Transaction Coordinator (MSDTC) or not.

If MSDTC is disabled, the current context reuses the existing connection profile and switches the context’s site pointing to the target site.

If MSDTC is enabled, the source site remotely calls a method to a target site that resides in a different database or server.

Note: In the source site’s Configuration Manager, the Use Distributed Transactions (DTC) check box must be selected.

For remote method calls that has been invoked to target sites that resides on a different database or server, the IDO method that uses a stored procedure must be present into the target site’s database or server. For IDO method that uses an IDO extension class code, the remote method call uses the source site’s IDO extension class code.

This section provides information about how to use remote IDO method calls.