Re: Bug 42773 - WSDL error causes HTTP 500 Response

From: Date: Mon, 19 Nov 2007 15:45:40 +0000
Subject: Re: Bug 42773 - WSDL error causes HTTP 500 Response
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-33319@lists.php.net to get a copy of this message
On 19.11.2007, at 16:26, nick loeve wrote:
On Nov 19, 2007 4:21 PM, Alexey Zakhlestin <indeyets@gmail.com> wrote:
imho, exceptions are preferrable in a lot of php's functions… but core php programmers are usually against exceptions if it is not an error of object-constructor
Well in this case the constructor to the SoapClient class specifically allows you to say you would like to use exceptions for SoapFaults. Is this not a SoapFault... ?
well its not a soap fault .. since that is something that the service should throw. the wsdl reading error occurs before you even talk to the soap service. that being said, i do agree that this should not be a fatal error. fopen() type hacks prevent the use of the wsdl cache and are inefficient for obvious reasons. regards, Lukas

« previous php.internals (#33319) next »