I am working on a PHP script that\'s processing a lot of data through a SOAP connection. Estimates of the total run time of the script look to be several days if it doesn\'t
I know it is an old question, but perhaps my solution can be useful to others. I had the same problem and by changing the 'keep_alive' parameter to false in the creation of the SoapClient object, my problem was solved:
$client = new SoapClient($wsdl,array(
'trace' =>true,
'connection_timeout' => 500000,
'cache_wsdl' => WSDL_CACHE_BOTH,
'keep_alive' => false,
));