Invoking methods

After instantiating the stub class, use the stub class instance to invoke the component’s methods. The stub class has methods that correspond to each method in the component. Parameter datatypes are mapped as described in Table 13-1. Any parameter datatype can be used as a return type; in addition, user-defined IDL datatypes can be used as return, in, inout, or out parameters.

You can overload methods in C++ and Java, but not in ActiveX components. See “Operation declarations” and “Supported datatypes”.

In addition to the tasks described in this section, you can also explicitly manage OTS transactions from your client. See “Managing explicit OTS transactions” for more information.