On Thu, 24 Feb 2005 09:30:22 +0100, FENDT Charles wrote: > The problem is with server own SoapFaults and my SoapFaults... It s > possible for me not to send SoapFault in my daemon... The typical problem > is a query error... handle() never give me the hand... > I use ob_start() to catch the soap response to redirect it on the client > socket. It work fine... > But if a soap fault is send, my code is never executed... and the > soapfault is printed on stdout!!! > > so... I need to catch soapFault events... Isn't SoapFault extendable? If I understand the Exception implementation in PHP5 all exceptions has to extend from Exception so in that way you could make your own exception handle and make that extend SoapFault: class MySoapFault extends SoapFault { public function __construct($message) { if ($message->queryError) { myOwnHandle(); } parent::__construct($message); } } -- Hilsen/Regards Michael Rasmussen http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917 -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php