ZF-1814: Allow explicit mapping of xmlrpc calls to object/class/method calls

Issue Type: Improvement Created: 2007-08-04T11:26:05.000+0000 Last Updated: 2008-11-13T14:09:59.000+0000 Status: Resolved Fix version(s): - 1.7.0 (17/Nov/08)

Reporter: Ralph Schindler (ralph) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_XmlRpc_Server

Related issues: Attachments:


Add support for explicit => function/method mapping.

Similar in nature to:…

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.


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.

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.