ZF-11411: Passing DOMDocument to handle() does not work

Issue Type: Bug Created: 2011-05-26T09:39:45.000+0000 Last Updated: 2011-05-28T19:43:35.000+0000 Status: Resolved Fix version(s): - 1.11.7 (02/Jun/11)

Reporter: Christoph Roensch (croensch) Assignee: Ralph Schindler (ralph) Tags: - Zend_Soap_Server

Related issues: Attachments: - ZF-11411-library.patch


Zend_Soap_Server::handle() accepts a request in the form of DOMDocument, DOMNode, SimpleXMLElement, stdClass and of course string. The XML is saved by Zend_Soap_Server::_setRequest() in a protected member $this->_request. Instead of the protected member $this->_request, the function parameter $request is used with SoapServer::handle(), wich silently fails if the request wasnt a string in the first place.


Posted by Christoph Roensch (croensch) on 2011-05-26T22:56:55.000+0000

The fix is simple, but i guess this should be tested in the first place, regardless of how hard it may be.

Posted by Ralph Schindler (ralph) on 2011-05-28T18:17:33.000+0000

Can you demonstrate the failing use case with some code?

Posted by Ralph Schindler (ralph) on 2011-05-28T19:43:35.000+0000

Fixed in trunk at r24065 and in release branch 1.11 at r24066

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.