ZF-2327: Zend_XmlRpc_Request_Http::__construct() does not conform to Zend_XmlRpc_Request::__construct()

Issue Type: Bug Created: 2007-12-18T14:44:29.000+0000 Last Updated: 2008-03-21T16:25:30.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Jeffrey Sambells (jeffrey) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_XmlRpc_Client

  • Zend_XmlRpc_Server

Related issues: Attachments:


The Zend_XmlRpc_Request_Http construct is missing the method and params arguments. If you extend the Http class and then try to assign the method through the constructor, it doesn't get assigned to the internal _method property, though it does in Zend_XmlRpc_Request.


Posted by Matthew Weier O'Phinney (matthew) on 2008-03-06T10:14:58.000+0000

Scheduling for 1.5.0RC2

Posted by Matthew Weier O'Phinney (matthew) on 2008-03-06T19:53:04.000+0000

This is by design. Zend_XmlRpc_Request_Http is designed to answer to incoming HTTP requests. Its constructor pulls XML from php://input and passes it to loadXml() -- which is when the method and params will be set.

If you don't want this behavior, then extend the Zend_XmlRpc_Request class, or have your extending class accept the method and params and set them itself.

Have you found an issue?

See the Overview section for more details.


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

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