Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39263 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19344 invoked from network); 24 Jul 2008 11:07:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jul 2008 11:07:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=david.zuelke@bitextender.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=david.zuelke@bitextender.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain bitextender.com does not designate 80.237.132.12 as permitted sender) X-PHP-List-Original-Sender: david.zuelke@bitextender.com X-Host-Fingerprint: 80.237.132.12 wp005.webpack.hosteurope.de Received: from [80.237.132.12] ([80.237.132.12:55085] helo=wp005.webpack.hosteurope.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 09/0E-44225-A8268884 for ; Thu, 24 Jul 2008 07:07:55 -0400 Received: from munich.bitxtender.net ([85.183.90.3] helo=[10.224.251.2]); authenticated by wp005.webpack.hosteurope.de running ExIM using esmtpsa (TLSv1:RC4-SHA:128) id 1KLyfm-0002PP-5U; Thu, 24 Jul 2008 13:07:50 +0200 Cc: Noah Fontes , PHP Developers Mailing List Message-ID: <74922546-6683-4C7D-B329-A1F639401803@bitextender.com> To: Lukas Kahwe Smith In-Reply-To: <1B8F0FD0-6D80-4ED0-B2FD-F5C833397D02@pooteeweet.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v926) Date: Thu, 24 Jul 2008 13:07:49 +0200 References: <4587ACEA.30103@pooteeweet.org> <45A24C7F.5020607@gmail.com> <4887734A.40908@bitextender.com> <1B8F0FD0-6D80-4ED0-B2FD-F5C833397D02@pooteeweet.org> X-Mailer: Apple Mail (2.926) X-bounce-key: webpack.hosteurope.de;david.zuelke@bitextender.com;1216897675;f3017755; Subject: Re: [PHP-DEV] ext/soap ctor errors From: david.zuelke@bitextender.com (=?ISO-8859-1?Q?David_Z=FClke?=) Okay, we're taking care of that. David Am 23.07.2008 um 22:49 schrieb Lukas Kahwe Smith: > Hi, > > Should not be too hard for someone with C knowledge to produce a fix =20= > I would assume. Any takers? Not sure if Dmitry has time for this on =20= > such 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 > > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >