Hi,
i am using qooxdoo 1.0.1 whith the following small snippet from the
manual to test the RpcPhp-Server:
var rpc = new qx.io.remote.Rpc("http://rpc-url", "qooxdoo.test");
var result = rpc.callSync("echo", "Test");
alert("Result of sync call: " + result);
Watching the request with the 'Live HTTP Headers'-Plugin i see that the
data is encoded
{"service":"qooxdoo.test","method":"echo","id":1,"params":"[\"Test\"]"}
while it should be
{"service":"qooxdoo.test","method":"echo","id":1,"params":["Test"]}
The RpcPhp-Server just returns "Result of sync call: Client said: [[]".
Anyone an idea what i am doing wrong?
Thanks in advance
Thorsten
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel