On Wed, Dec 2, 2009 at 13:04, Gene Amtower <[email protected]> wrote:

>  Thanks for the heads-up, Helder.
>
> I do know that the Oracle web interface requires that ALL incoming
> parameters be defined in the procedure spec, otherwise it fails to find a
> matching procedure to activate/run.  Oracle provides the ability to overload
> the same procedure name with different parameter lists/types, and this gets
> in the way when it can't determine the appropriate overloaded procedure
> based on incoming parameters in the request.  So, it might have been as easy
> as making sure the no-cache parameter was included in the procedure
> parameter list.  Unfortunately, it makes server development a bit trickier
> than PHP coding, where you can define any parameters in the request, whether
> they get used in the PHP code or not.
>

This was the reason I proposed recently removing the getParams() method as a
conformance requirement in RpcExample's test suite. I just wrote a Java
backend that has exactly the same issue you discovered. I wanted to pass the
parameters individually to the remote method, and I don't know of a way in
Java to handle variable argument lists. That feature is not necessary for
the purposes of generic JSON-RPC, and I don't believe it should be mandated
by our conformance test suite.

Derrell
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to