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

From: Date: Wed, 24 Sep 2003 13:27:40 +0000
Subject: Re: Problems in a function - Probably an easy answer!
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-1071@lists.php.net to get a copy of this message
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 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

« previous php.soap (#1071) next »