Hi, You need to use try/catch when you execute the call. The below example catches any errors and writes it to a logfile. try { // Execute soap call $reply = $client->fooCall($param1, $param2); } catch(SoapFault $ex) { $err = $ex->faultcode; $fault = $ex->faultstring; $desc = print_r($ex->detail->exception->message, true); if ($_DEBUG) { error_log("WM call error " .__FILE__ .'/' .__LINE__ ."; $err; $fault; $desc"); } } -----Ursprungligt meddelande----- Från: Antonio Reher [mailto:areher@sonoratec.biz] Skickat: den 23 februari 2005 14:23 Till: soap@lists.php.net Ämne: catching a timeout Hi, i'm creating a soap client with php5 from a wsdl. If the server times out, is there any way of catching this and executing alternative code? thanks! -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ______________________________________ OBS! Vi har ändrat våra e-postadresser, se avsändaradressen ovan. V.g. uppdatera dina eventuella sändlistor. N.B. Our e-mail addresses are changed (see above sender address). Please change any sendlists accordingly. Thank you. ______________________________________ This message and any files or documents attached are confidential and may also be legally privileged or protected by other legal rules. It is intended only for the individual or entity named. If you are not the named addressee or you have received this email in error, please inform the sender immediately, delete it from your system and do not copy or disclose it or its contents or use it for any purpose. Thank you. Please also note that transmission cannot be guaranteed to be secure or error-free. -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php