Passing SOAP fault with detail

This commit is contained in:
Petr Bechyně 2016-11-29 18:54:22 +01:00
parent 476813e9bb
commit 00ddf149b0

View File

@ -111,7 +111,8 @@ class SoapServer extends \SoapServer
return $this->handleSoapRequest($soapRequest);
} catch (\SoapFault $fault) {
$this->fault($fault->faultcode, $fault->faultstring);
$this->fault($fault->faultcode, $fault->faultstring, $fault->faultactor, $fault->detail);
return self::SOAP_SERVER_REQUEST_FAILED;
}