On 19.11.2007, at 16:26, nick loeve wrote:
> 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... ?
well its not a soap fault .. since that is something that the service
should throw. the wsdl reading error occurs before you even talk to
the soap service. that being said, i do agree that this should not be
a fatal error. fopen() type hacks prevent the use of the wsdl cache
and are inefficient for obvious reasons.
regards,
Lukas