What steps will reproduce the problem?
I wrote a code like
<?php
$server = RPCServer::getInstance();
function rpc_check_call($arguments){
return array("working");
}
/*
* note that the function name is rpc_check_call in php server
* and I want to show the function as rpc.check_call in client
*/
$server->addMethod("rpc_check_call", "rpc.check_call");
?>
What is the expected output? What do you see instead?
I expect that I shall find a procedure like rpc.check_call().
But when I call system.describe() I get procedure name rpc_check_call.
And when I call rpc_check_call() it says that no function like that.
But when I call rpc.check_call() then it works.
What version of the product are you using? On what operating system?
The following lines describe PHP version.
PHP 5.2.4 (cli) (built: Sep 18 2007 08:50:58)
And I have checked the json response too . I think there is no issue
in the javascript client(as system.describe is working).
-- Thanks
Kamanashis Roy
Original issue reported on code.google.com by kamanash...@gmail.com on 2 Jan 2008 at 7:50
Original issue reported on code.google.com by
kamanash...@gmail.com
on 2 Jan 2008 at 7:50