Re: use_soap_error_handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



FENDT Charles wrote:
Hello...

Someone knows how this work ?
use_soap_error_handler

I don't have a clue but looking at the docs you have at least 2 other ways of handling SOAP errors:

1. http://php.paradoxical.co.uk/manual/en/function.is-soap-fault.php
2. use a try/catch block

try {
	// do some SOAP stuff here
}
catch (SoapFault $e) {
	// catch SOAP specific exceptions here
}
catch (Exception $e) {
	// catch general exceptions
}


I DO NOT KNOW what the classname of the Soap Exception assuming SoapServer does not just throw std Exceptions... so I guessed that it might be called SoapFault.... the manual seems to indicate that this is correct.

HTH - (I just figured out wtf HTH means :-)


I search a way to handle SoapFault exceptions from the SoapServer class...

Regards

FENDT Charles


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux