The operation you retrieve using ostc_Session::getOperation() contains default value arguments; that is, every argument is set to 0. To set arguments to nondefault values, use ostc_Operation::setArgument():
transfer->setArgument("from_acct_name", from_name); transfer->setArgument("to_acct_name", to_name); transfer->setArgument("amount", amount);
"from_acct_name", "to_acct_name", and "amount" are the names of the arguments being set.
from_name, to_name, and amount are the values to which the arguments are being set.
Click here for the example in context.
Argument Value Types
The value of an argument must be one of the following types:
These are the fundamental types used to pass data between thin client and Component Server. There is an overloading of set_argument() for each of these types.
Getting Arguments
You can also use members of ostc_Operation to retrieve an operation's formal and actual arguments.