title: PHP - Increase Soap Client Execution time
body: <p>I am using soap client class. After running for sometime, it stops executing. I think the problem is with execution time. I used the following methods to increase the execution time.</p>
  
  <pre><code>Method-1 : $client = new SoapClient($myUrl, array('connection_timeout' =&gt; 1500));
  
  Method-2 : ini_set('default_socket_timeout', 1500);
  
  Method-3 : try {
          $client-&gt;WaitBeforeResponse(1500);
      } catch(Exception $e) {
          echo $e-&gt;getMessage();
      }
  </code></pre>
  
  <p>But none of them worked. For method-3, it shows the error </p>
  
  <p><em>Function ("WaitBeforeResponse") is not a valid method for this service</em></p>
  
  <p>Is there any working method to increase the execution time of soap client?</p>