xmlrpc::invoke_method (private)

 xmlrpc::invoke_method method_name arguments

Defined in packages/xml-rpc/tcl/xml-rpc-procs.tcl

Call the given method on the OpenACS server. It's up to the caller to catch any error that we get.

Parameters:
method_name (required)
methodName from XML-RPC
arguments (required)
list of arguments
Returns:
result of the OpenACS proc
Author:
Vinod Kurup

Partial Call Graph (max 5 caller/called nodes):
%3 system.multicall system.multicall (public) xmlrpc::invoke_method xmlrpc::invoke_method system.multicall->xmlrpc::invoke_method xmlrpc::invoke xmlrpc::invoke (private) xmlrpc::invoke->xmlrpc::invoke_method

Testcases:
No testcase defined.
Source code:
    # check that the method is registered as a valid XML-RPC method
    if {![nsv_exists xmlrpc_procs $method_name]} {
        return -code error -errorcode 2 "methodName $method_name doesn't exist"
    }
    ns_log debug "xmlrpc::invoke_method method $method_name args $arguments"
    set result [uplevel #0 [list $method_name$arguments]
    return $result
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: