#34657 [Bgs->Csd]: If you get a communication problem when loading the WSDL, it fatal's

From: Date: Tue, 12 Sep 2006 09:56:53 +0000
Subject: #34657 [Bgs->Csd]: If you get a communication problem when loading the WSDL, it fatal's
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-102028@lists.php.net to get a copy of this message
 ID:               34657
 User updated by:  gareth at wsys dot co dot uk
 Reported By:      gareth at wsys dot co dot uk
-Status:           Bogus
+Status:           Closed
 Bug Type:         SOAP related
 Operating System: Windows, Linux
 PHP Version:      5.1.6
 Assigned To:      dmitry
 New Comment:

OK, the debug information shows that the Soap client class is now
throwing an uncaught SoapFault exception (which causes the fatal
error).

with a try{ } catch(SoapFault $exception) I can continue the script.

I've closed the bug.


Previous Comments:
------------------------------------------------------------------------

[2006-09-12 08:56:12] dmitry@php.net

I cannot reproduce the bug even with 5.1.4. Try "php -d log_errors=0
test.php". May be you are seeing log message and don't see "Error
Caught" after it?

------------------------------------------------------------------------

[2006-09-11 07:50:34] gareth at wsys dot co dot uk

I have tried to use set_error_handler(), but as you know it cannot
catch fatal errors.

Does anyone else have a workaround?

------------------------------------------------------------------------

[2006-09-08 21:50:38] tony2001@php.net

See also bug #38703.

------------------------------------------------------------------------

[2006-09-06 10:40:10] gareth at wsys dot co dot uk

Have tried on PHP version 5.1.6, still getting the following error:

Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from
'http://urlhere.com/file.wsdl'.

So I still cannot catch this error, which limits my use of SOAP as it
will kill my script.

------------------------------------------------------------------------

[2006-09-05 12:32:44] dmitry@php.net

Seems this bug was already fixed in CVS HEAD, PHP_5_2 and PHP_5_1 long
time ago.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/34657

-- 
Edit this bug report at http://bugs.php.net/?id=34657&edit=1


Thread (21 messages)

« previous php.bugs (#102028) next »