I found a solution to set a timeout using Zend_Framework:
If you have a SoapClient-Object like this:
$client = new Zend_Soap_Client(http:
You can set a timeout for HTTP requests. The default timeout in PHP is 30 seconds. With the following code, you can, for example, set it to 1 minute.
$context = stream_context_create( array( 'http' => array( 'timeout' => 1000 ) ) ); $client->setStreamContext($context);
Found on downlifesroad.com
source share