Re: Bug 42773 - WSDL error causes HTTP 500 Response

From: Date: Mon, 19 Nov 2007 15:26:27 +0000
Subject: Re: Bug 42773 - WSDL error causes HTTP 500 Response
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-33318@lists.php.net to get a copy of this message
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... ? > > On 11/19/07, nick loeve <trickie@gmail.com> wrote: > > Hello, > > > > I see that the bug was marked fixed in 5.2.5, and that a HTTP 500 > > response code is not automatically sent, but isn't the whole problem > > that attempting to load a WSDL that cannot be loaded should raise an > > exception and not fatal error? > > > > Is this discussion appropriate for this bug, or should I open another? > > > > Cheers > > > > -- > > Nick Loeve > > > > -- > > PHP Internals - PHP Runtime Development Mailing List > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- > Alexey Zakhlestin > http://blog.milkfarmsoft.com/ > -- Nick Loeve www.trickie.org

« previous php.internals (#33318) next »