[Json-rpc-java] Re: resolveMethod

rzo rzo at gmx.de
Sat Mar 24 19:51:44 SGT 2007


> Hello,
>
> first thanks for the great work implementing json-rpc.
>
> according to the specification:
> "
> A server SHOULD try to adapt a call such that it has the greatest 
> chance of succeeding by making the following adjustments for the 
> actual invocation:
>
>    * If the call supplies fewer parameters than expected then the
>      missing parameters SHOULD assume the Null value.
>    * If the call supplies more parameters than expected then they MAY
>      be dropped prior to invocation. A server MAY however, provide a
>      means for a procedure to receive the excess parameters if
>      necessary (for example by allowing a variable-length argument list).
>
> "
>
> However the current implementation uses method name  & signature size 
> as key for finding the method, thus not conforming with the SHOULD 
> requirement of the spec.
> It would be great if this requirement is implemented.
>
> - Ron
> http://ajax4jmx.sourceforge.net
>
>



More information about the Json-rpc-java mailing list