SoapObject::__getFault -- get the last SOAP transaction fault error object
Description
Warning |
This function is
EXPERIMENTAL. That means, that the behaviour of this
function, the function name, in concreto ANYTHING documented here can
change in a future release of this package WITHOUT NOTICE. Be warned, and
use this function at your own risk. |
Returns the last Soapfault object
Example 1. SoapObject::__getFault() example <?php
//simple example to check soap extension client is working..
dl('soap.so');
$soapclient = new SoapObject("http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl");
$ret = $soapclient->sillytest();
if ($soapclient->__isFault()) {
print_r($soapclient->__getFault());
}
?> |
|