Re: Problems in a function - Probably an easy answer!

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

 



Indeed it may be a timeout issue, if the query is really time consuming.
Default timeout for PEAR::SOAP is 5 seconds, but you can modify it with:

    $client->__options['timeout'] = 10;

(two underscores before "options") or any higher value.

Bye
Michele

"Dustin Nantais" <dustin@apheximaging.com> ha scritto nel messaggio
20030924125537.68717.qmail@pb1.pair.com">news:20030924125537.68717.qmail@pb1.pair.com...
> I am using this example to start up a SOAP server and run a few functions.
>
> http://www.phppatterns.com/index.php/article/articleview/41/1/2/
>
> It seems like when I do my own little function inside the Test1 class,
like
> 'function serverTimestamp() or function hello()' in the example, it won't
do
> any advanced operations. I can do simple math, like a+b, and spit out a
> value, but as soon as I do a SQL query or anything like that, it returns
the
> SOAP fault object, with a timed out read.
>
> Can anyone help me?
>
>
> ....Dustin

-- 
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