note 98004 modified in soapfault.soapfault by danbrown

From: Date: Thu, 20 May 2010 15:46:52 +0000
Subject: note 98004 modified in soapfault.soapfault by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-169460@lists.php.net to get a copy of this message
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

« previous php.notes (#169460) next »