Invokes the method named method
with the parameters given by
args
on the XML-RPC server.
The method
parameter is converted into a String and should be
a valid XML-RPC method-name.
Each parameter of args
must be of one of the following types,
where Hash, Struct
and Array can contain any of these listed types:
-
TrueClass, FalseClass,
true
,false
-
String, Symbol
-
Array
-
Date, Time, XMLRPC::DateTime
-
A Ruby object which class includes XMLRPC::Marshallable (only if Config::ENABLE_MARSHALLABLE is
true
). That object is converted into a hash, with one additional key/value pair_class___
which contains the class name for restoring that object later.
The method returns the return-value from the Remote Procedure Call.
The type of the return-value is one of the types shown above.
A Bignum is only allowed when it fits in
32-bit. A XML-RPC dateTime.iso8601
type is always returned as
a XMLRPC::DateTime object. Struct is never returned, only a Hash, the same for a Symbol, where as a String is always returned. XMLRPC::Base64 is returned as a String from xmlrpc4r
version 1.6.1 on.
If the remote procedure returned a fault-structure, then a XMLRPC::FaultException exception is raised,
which has two accessor-methods faultCode
an Integer, and faultString
a String.
Please login to continue.