Timeout issue-does not work even when timeout is set

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

 



Hi,
I have this class that creates a web service client and call the method.
It took 18s for the script to finish executing. I will get the time out read from ip when I run the script. But this only happened when I am using a browser or command-line, not with XMLspy to send the request. I have set the timeout variable as advised by other posts in this newsgroup. Funny that it works for them but not for me.
My code:
$client = new SOAP_Client($this->config['wsdlURL']);
$client->setOpt('timeout', 200);


Is there any other methods to make this work? Could it be because of I am using a script to call the web service that caused the timeout?(note that when using XMLspy to call the web service, it is working)

Thanks for replying
Ai Leen

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