RE: FW: SV: SoapServer & SoapFault

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

 



> I already try...
> it's haw it work with SoapClient...
> Try{$client->__call($function, $param)}catch(SoapFault 
> $fault) {...} But SoapServer::handle() return nothing: no 
> data, no exception...
> I catch nothing
> just try:
> <?php
> $server = new SoapServer(null, "http://test/";); try {
>      $server->handle("this is not a valid soap query"); } 
> catch (Exception $e) {
>      echo "I catch the Error !!! \n";
> }
> ?>
> 
> Some other idee ???
> I didn't have more...

I thought your 'query error' was a db query error :).

I don't think it's possible, unless you can compile your own soap extension.
In that case you might remove the following lines in soap.c:

1773> 	zend_clear_exception(TSRMLS_C);
1774> 	zend_bailout();

Remember that you than have to catch every exception (which allows you to
check if there was an exception and do some logging actions). This is just
an option, it's untested in every way!

Regards,

David

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



[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux