Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39247 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28627 invoked from network); 23 Jul 2008 20:51:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jul 2008 20:51:08 -0000 Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 88.198.8.16 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 88.198.8.16 bigtime.backendmedia.com Linux 2.6 Received: from [88.198.8.16] ([88.198.8.16:57319] helo=bigtime.backendmedia.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F3/48-12534-BB997884 for ; Wed, 23 Jul 2008 16:51:08 -0400 Received: from localhost (unknown [127.0.0.1]) by bigtime.backendmedia.com (Postfix) with ESMTP id F2A104144007; Wed, 23 Jul 2008 20:52:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at backendmedia.com Received: from bigtime.backendmedia.com ([127.0.0.1]) by localhost (bigtime.backendmedia.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nnlPjzo-pCgi; Wed, 23 Jul 2008 22:52:13 +0200 (CEST) Received: from [192.168.0.151] (77-57-23-243.dclient.hispeed.ch [77.57.23.243]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: mls@pooteeweet.org) by bigtime.backendmedia.com (Postfix) with ESMTP id DF4F04144006; Wed, 23 Jul 2008 22:52:12 +0200 (CEST) Cc: =?ISO-8859-1?Q?David_Z=FClke?= , PHP Developers Mailing List Message-ID: <1B8F0FD0-6D80-4ED0-B2FD-F5C833397D02@pooteeweet.org> To: Noah Fontes In-Reply-To: <4887734A.40908@bitextender.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v928.1) Date: Wed, 23 Jul 2008 22:49:37 +0200 References: <4587ACEA.30103@pooteeweet.org> <45A24C7F.5020607@gmail.com> <4887734A.40908@bitextender.com> X-Mailer: Apple Mail (2.928.1) Subject: Re: [PHP-DEV] ext/soap ctor errors From: mls@pooteeweet.org (Lukas Kahwe Smith) Hi, Should not be too hard for someone with C knowledge to produce a fix I =20= would assume. Any takers? Not sure if Dmitry has time for this on such =20= short notice .. regards, Lukas On 23.07.2008, at 20:07, Noah Fontes wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > David Z=FClke wrote: >> I know this is horribly old, but I just stumbled across the same =20 >> issue >> again and realized it has not been tackled yet. >> >> Shouldn't we fix that for 5.3? >> >> >> David >> >> >> >> Am 08.01.2007 um 14:51 schrieb Knut Urdalen: >> >>> I agree with Lukas here, currently you have to be proactive against >>> the location of the WSDL-file. I currently do like this in my >>> SoapClient's: >>> >>> class MySoapClient extends SoapClient { >>> public function __construct($wsdl ,$options =3D array()) { >>> if(is_resource(@fopen($wsdl, 'r'))) { >>> parent::__construct($wsdl, $options); >>> } else { >>> throw new Exception("Parsing WSDL: Couldn't load from '$wsdl'"); >>> } >>> } >>> } >>> >>> to be able to catch that problem as an Exception. >>> >>> Regards, >>> Knut Urdalen >>> >>> Lukas Kahwe Smith wrote: >>>> Hi, >>>> >>>> why do I get warnings when I have failures in my ext/soap ctor? >>>> >>>> try { >>>> $client =3D new SoapClient('http://i_dont_exist.com/some.wsdl', >>>> array('exceptions' =3D> true)); >>>> } catch (Exception $e) { } >>>> >>>> I guess even without the 'exceptions' =3D> true it should always =20= >>>> return >>>> all issues as an exception. I think this was agreed upon for >>>> constructor errors in PHP5, no? >>>> >>>> regards, >>>> Lukas >>>> > > +1 for this. > > Regards, > > Noah > > - -- > Noah Fontes > Bitextender > http://www.bitextender.com/ > Phone: +1 919 349 9826 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > > iD8DBQFIh3NKhitK+HuUQJQRAmywAKCH7w7pq7r9dV+UHF81Ky7/9XzYOgCgjAGB > DopF3tsQm31fzXxDhWYU2S8=3D > =3DQPf5 > -----END PGP SIGNATURE----- > > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > Lukas Kahwe Smith mls@pooteeweet.org