[Jsonrpc-cpp-devel] Issue with jsonrpc library.
Brought to you by:
s-vincent
From: Anoop R. <ano...@gm...> - 2013-09-26 19:20:58
|
Hi All, I got an issue while using jsonrpc library. i am trying to call the function getConnectedDevices which is registered with jsonrpc server. But it is showing message as "Method not found.". But in system.describe call, this function is showing as registered one. Can anyone know why this is happening? Query is: {"id":8,"jsonrpc":"2.0","method":"getConnectedDevices","param1":""} Received: {"error":{"code":-32601,"message":"Method not found."},"id":8,"jsonrpc":"2.0"} Query is: {"id":7,"jsonrpc":"2.0","method":"system.describe","param1":""} Received: {"id":7,"jsonrpc":"2.0","result":{"LoadModule":null,"UnloadModule":null,"getConnectedDevices":null,"setClientRoute":null,"system.describe":{"description":"List the RPC methods available","parameters":null,"returns":"Object that contains description of all methods registered"}}} -- Anoop. |