ZF-1814: Allow explicit mapping of xmlrpc calls to object/class/method calls
Description
Add support for explicit namespace.name => function/method mapping.
Similar in nature to:
http://scripts.incutio.com/xmlrpc/…
Essentially, expected api:
$server->addMethod($functionName, $functionMethodCallback);
if ($this) was passed in $functionmethodCallback, the server SHOULD NOT attempt to clone or recreate the object, instead it should map the call the to already passed in object. This will be useful when embedding an XMLRPC server inside a controllers action.
Addionally, if a valid callback is presented as strings, an object should be created.
For more info, contact me if need be.
Comments
Posted by Matthew Weier O'Phinney (matthew) on 2007-11-16T15:08:20.000+0000
Tentatively scheduling for 1.1.0. It requires changes to Zend_Server_Reflection, as well as to each server class.
Posted by Wil Sinclair (wil) on 2008-04-18T13:12:06.000+0000
This doesn't appear to have been fixed in 1.5.0. Please update if this is not correct.
Posted by Matthew Weier O'Phinney (matthew) on 2008-04-22T12:08:58.000+0000
Scheduling for next minor release.
Posted by Matthew Weier O'Phinney (matthew) on 2008-10-30T06:40:06.000+0000
A new component, Zend_Server_Definition, was added to allow better, more performant caching ability in Zend_XmlRpc_Server (and the JSON-RPC server). This component also achieves the goal of this request -- you can define your own Zend_Server_Method_Definition objects, attach them to the Zend_Server_Definition, and pass this to loadFunctions(). This allows for fully customizable server definitions.
Posted by Wil Sinclair (wil) on 2008-11-13T14:09:59.000+0000
Changing issues in preparation for the 1.7.0 release.