On Mon, Aug 18, 2008 at 11:18 AM, Matthew Lurz <[EMAIL PROTECTED]> wrote:
> Please excuse my ignorance as I've worked very little with any RPC service
> in the past.
>
> I'm attempting to AJAJ-enable a form. I've selected a simple form containing
> 2 ValidationTextBoxes. I'm using the modular directory structure and the
> controller class in this case is Dashboard_Options and the action is
> blogAction. The Dojo view integration is working as expected but I must be
> missing something. I have created the getJsonRpcServer and jsonRpcAction
> methods in the controller as described here (I understand that this is but 1
> potential solution):
>
> Which seems to be calling the blogAction however I receive this error:
>
> "Variable number of arguments is not supported for services (except optional
> parameters). Number of function arguments must currespond to actual number
> of arguments described in a docblock."
>
> Sidebar: I copied and pasted the error message. What is the procedure for
> submitting a a minor spelling mistake to the developers?
>
> I understand that the methods are to contain docblocks so that the JSON-RPC
> service knows the signature of the method but in this case there are no
> arguments to the method nor a return value. Again, I must be missing
> something but am at a loss. Any help would be greatly appreciated.
>
> Here are the methods:

That's your controller.

The error probably comes from the class that you assign with
setClass() ('Options').

That class needs to be documented properly - that's what I guess. ;)
I've only used Zend_XmlRpc_Server.

Till

Reply via email to