Passing SOAP fault with detail

This commit is contained in:
Petr Bechyně 2016-11-29 18:54:22 +01:00
parent 476813e9bb
commit 00ddf149b0
1 changed files with 2 additions and 1 deletions

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;
}