is_soap_faultChecks if a SOAP call has failed Description
bool is_soap_fault
( mixed
$object
)
This function is useful to check if the SOAP call failed, but
without using exceptions. To use it, create a
SoapClient object with the exceptions
option set to zero or If exceptions is not set then SOAP call will throw an exception on error. is_soap_fault checks if the given parameter is a SoapFault object. Parameters
Return Values
This will return Examples
Example #1 is_soap_fault example
<?php Example #2 SOAP's standard method for error reporting is exceptions
<?php See Also
|