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 I would assume. Any takers? Not sure if Dmitry has time for this on such short notice ..

regards,
Lukas

On 23.07.2008, at 20:07, Noah Fontes wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Zülke wrote:
I know this is horribly old, but I just stumbled across the same 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 = 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 = new SoapClient('http://i_dont_exist.com/some.wsdl',
array('exceptions' => true));
} catch (Exception $e) { }

I guess even without the 'exceptions' => true it should always 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=
=QPf5
-----END PGP SIGNATURE-----

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php


Lukas Kahwe Smith
[EMAIL PROTECTED]




--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to