Description

I'm not sure when this broke, but after a recent upgrade to ZF 1.12.0 I tried my Zend_Soap_Server service again using SoapUI, and found that when an exception is thrown I'm getting a response like this:

This is happening because in line 903 of Zend_Soap_Server.php, it has this:

if (!$this->_returnResponse) {
echo $this->_response;
return;
}

Just echoing the response (which in this case is a SoapFault) does NOT give an XML rendering compatible with the SOAP protocol. It looks like you'd need to go $soap->fault(faultCode, faultMessage) instead...