Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33319 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21275 invoked by uid 1010); 19 Nov 2007 15:46:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 21255 invoked from network); 19 Nov 2007 15:46:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Nov 2007 15:46:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 85.10.196.195 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 85.10.196.195 serveforce1.backendmedia.com Linux 2.6 Received: from [85.10.196.195] ([85.10.196.195:58048] helo=serveforce1.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/D7-05823-6BFA1474 for ; Mon, 19 Nov 2007 10:46:23 -0500 Received: from [192.168.4.108] (cust.static.84-253-51-151.cybernet.ch [84.253.51.151]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by serveforce1.backendmedia.com (Postfix) with ESMTP id B8E4E181CFF8; Mon, 19 Nov 2007 16:46:19 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <83c2b2e00711190726i5fc5a36fi72df22608ff3e049@mail.gmail.com> References: <83c2b2e00711190714n376c4c31ra122692a50517d22@mail.gmail.com> <83c2b2e00711190726i5fc5a36fi72df22608ff3e049@mail.gmail.com> Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Message-ID: Content-Transfer-Encoding: quoted-printable Date: Mon, 19 Nov 2007 16:45:40 +0100 To: nick loeve , PHP Developers Mailing List X-Mailer: Apple Mail (2.752.3) X-backendmedia-com-MailScanner-Information: Please contact the ISP for more information X-backendmedia-com-MailScanner: Found to be clean X-backendmedia-com-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=0, required 6) X-backendmedia-com-MailScanner-From: mls@pooteeweet.org X-Spam-Status: No Subject: Re: [PHP-DEV] Bug 42773 - WSDL error causes HTTP 500 Response From: mls@pooteeweet.org (Lukas Kahwe Smith) On 19.11.2007, at 16:26, nick loeve wrote: > On Nov 19, 2007 4:21 PM, Alexey Zakhlestin wrote: >> imho, exceptions are preferrable in a lot of php's functions=85 >> 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 =20= should throw. the wsdl reading error occurs before you even talk to =20 the soap service. that being said, i do agree that this should not be =20= a fatal error. fopen() type hacks prevent the use of the wsdl cache =20 and are inefficient for obvious reasons. regards, Lukas=