Re: [fw-general] How to catch exception from Zend\Soap\Client\Client

2010-06-08 Thread Mon Zafra
Just guessing, but shouldn't the $client-login() call be inside the try block? Looking at the Client constructor and setWsdl(), I don't think the SoapFault exception can be thrown from those. -- Mon On Tue, Jun 8, 2010 at 1:44 PM, Jonathan Maron jonathan.a.ma...@gmail.comwrote: Hello all

Re: [fw-general] How to catch exception from Zend\Soap\Client\Client

2010-06-08 Thread Jonathan Maron
Hi Mom You are absolutely right. The exception is thrown in logIn and hence can be caught. Here is the corrected version: http://gist.github.com/429896 :-) Jonathan On Tue, Jun 8, 2010 at 10:40 AM, Mon Zafra mon...@gmail.com wrote: Just guessing, but shouldn't the $client-login() call be