Are you sure that "dothisfunction()" works fine? PEAR::SOAP servers do not always cope well with errors happening inside registered server objects functions (e.g. "$helloServer"). What I usually do is trying the server object functions on its own by invoking directly the http://.../server.php script, which I put in sort of "debug mode" by adding a direct call to the server object function ("$helloServer->dothisfunction(); die();") somewhere before the "$server->service(...)" call. Then, when it works OK, I switch back to "SOAP server mode" by removing the debug code. Let me know your experience Bye Michele "Dustin Nantais" <dustin@apheximaging.com> ha scritto nel messaggio 20030924135909.66899.qmail@pb1.pair.com">news:20030924135909.66899.qmail@pb1.pair.com... > I followed your advice Michele, and I still get a timeout error. Here is the > function i've defined. It's no doubt a very small function. It should > execute almost immediately. > > function dothisfunction($nid) { > > //connect to db, defined above > > global $db; > > $result = $db->query("SELECT * FROM marques WHERE id = $nid LIMIT 0,1"); > > $row = $result->fetchRow(); > > $name = $row['name']; > > return $name; > > } > > I've also tried using the defualt PHP 'mysql' function library, and no luck. > Is it the SOAP client thats the problem, or is it the server. Should I use a > different client. I'm using PEAR::SOAP right now. For client and server. > > > > ...Dustin -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php