On Wed, Mar 31, 2010 at 10:47, Thorsten Klingen <[email protected]>wrote:
> 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"]}
>
Something strange is going on. What is "Live HTTP Headers"? What browser are
you using?
Please try the following playground app, and confirm that the correct data
is sent. It works fine for me. (Notice that I removed "http://" from the url
parameter so that the url would be relative. Also note that rpc-url does not
exist on the server where playground is located, so all this is trying to
confirm is that the correct data is sent.)
*http://tinyurl.com/yfax3ph*
Derrell
------------------------------------------------------------------------------
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