I had this problem and solved it by doing the following: Add the following line of dynamic php code to the file WSDL.php at lines 476 and 482 " \$this->setOpt(\"timeout\", 30);\n". Of course you will have to logical about how it goes into the code, this code will be executed and set the client's timeout to whatever you choose. I would suggest against "0" because I don't believe you would want to leave control of your site onto a 3rd party's SOAP Server. 30 worked for me. Take a look at it, and play with it a little, you'll figure it out. > > -----Original Message----- > > From: Tan Ai Leen [mailto:tan_ai_leen9@hotmail.com] > > Sent: 07 March 2004 07:18 > > > > There is this timeout variable for HTTP class that pear soap > > is using. > > I set the timeout to be 0 which the comments in HTTP class say means > > never, like this: > > $client->setOpt("timeout", 0); > > > > Not sure if it will work... cos the timeout could be cause by the OS, > > firewall, etc. As I am not good with network infrastructure, can't > > confirm anything. > > > > But you can try to configure the timeout for SOAP using the > > above function. > > > > Tell me if it works for you. > Don't you need to use the SOAP timeout option? I also found I needed to set > the CURL timeout as well... > $this->setOpt('curl', CURLOPT_TIMEOUT, > $GLOBALS['g_ps']['connectionTimeout']); > $this->setOpt('timeout', $GLOBALS['g_ps']['connectionTimeout']); > $GLOBALS['g_ps']['connectionTimeout'] being my special timeout value ;-) > Regards, > Mike C. > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > _________________________________________________________________ > Get MSN Hotmail alerts on your mobile. > http://en-asiasms.mobile.msn.com/ac.aspx?cid=1002 -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php