Passing SOAP fault with detail
This commit is contained in:
parent
476813e9bb
commit
00ddf149b0
|
@ -111,7 +111,8 @@ class SoapServer extends \SoapServer
|
||||||
return $this->handleSoapRequest($soapRequest);
|
return $this->handleSoapRequest($soapRequest);
|
||||||
|
|
||||||
} catch (\SoapFault $fault) {
|
} 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;
|
return self::SOAP_SERVER_REQUEST_FAILED;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue