<div dir="ltr">Hi,�<div>Not all were serializable but - all were jsonable .�</div><div><div style="direction: ltr;">I thought the parameters go through json serializing.</div><div style="direction: ltr;"><br></div><div style="direction: ltr;">
with json serialization you can serialize and deserialize when some clients have newer object and some older instances of an object. so we use gson. �</div><div style="direction: ltr;"><br></div><div style="direction: ltr;">
now i wrote the program so it gson-serialize an object and then send its strings between the machines.�</div><div style="direction: ltr;">I would prefer though if it was gson serialization to the params (as the name hints).</div>
<div style="direction: ltr;">thanks.</div><br><div class="gmail_quote">On Wed, Mar 23, 2011 at 5:12 PM, Emile Joubert <span dir="ltr">&lt;<a href="mailto:emile@rabbitmq.com">emile@rabbitmq.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hi,<div><div></div><div class="h5"><br>
<br>
On 23/03/11 14:24, mysurf mail wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
using rpc json client and server,<br>
I can call a function only with null value in the parameters.<br>
<br>
otherwise the reflection doesnt seem to work.<br>
any idea ?<br>
</blockquote>
<br></div></div>
Are your parameters properly JSON-serialisable? If null is the only value that works then it is possible that the serialisation has failed.<br>
<br>
The Java client example directory has code that illustrates how to use JSON RPC - see HelloJsonServer and HelloJsonClient.<br>
<br>
Regards<br><font color="#888888">
<br>
Emile<br>
</font></blockquote></div><br></div></div>