ID:               32136
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mail at brungs-peter dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         SOAP related
 Operating System: Windows XP SP2
 PHP Version:      5.0.3
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip




Previous Comments:
------------------------------------------------------------------------

[2005-02-28 20:22:26] mail at brungs-peter dot de

Description:
------------
The error occurs, when I test a Client / Server Connection with Soap (
Built in PHP) and a WSDL file.

The result is:

Fatal error: Maximum execution time of 30 seconds exceeded in
C:\Projekte\WebRoot\PHP\Soap_Test\StockClient.php on line 9

Reproduce code:
---------------
Sample from http://www.zend.com/php5/articles/php5-SOAP.php?print=1

with:

<?php
        $quotes = array( "ibm" => 98.42 );  

        function getQuote($symbol) {
                global $quotes;
                return $quotes[$symbol];
        }

        //ini_set("soap.wsdl_cache_enabled", "0"); // disabling WSDL cache
        $server = new SoapServer("StockQuote.wsdl");
        $server->addFunction("getQuote");
        $server->handle();
?> 

  <?php
  $client = new SoapClient("StockQuote.wsdl");
  
  try {
        print($client->getQuote("ibm"));
  } catch ( SoapFault $exception) {
        echo $exception;
  }
?> 

Expected result:
----------------
98.42 

Actual result:
--------------
Fatal error: Maximum execution time of 30 seconds exceeded in
C:\Projekte\WebRoot\PHP\Soap_Test\StockClient.php on line 9


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32136&edit=1

Reply via email to