To get custom Soap Error Codes use in the catch $e->faultcode instead of $e->getCode.
<?php
try {
// ...
} catch (SoapFault $e) {
echo $e->faultcode;
}
?>
--was--
To get custom Soap Error Codes use in the catch $e->faultcode instead of $e->getCode.
try {
...
} catch (SoapFault $e) {
echo $e->faultcode;
}
http://php.net/manual/en/soapfault.soapfault.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.