From:             mail at brungs-peter dot de
Operating system: Windows XP SP2
PHP version:      5.0.3
PHP Bug Type:     SOAP related
Bug description:  Client connection time exceeds

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 bug report at http://bugs.php.net/?id=32136&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=32136&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=32136&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=32136&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=32136&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=32136&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=32136&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=32136&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=32136&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=32136&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=32136&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=32136&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=32136&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=32136&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=32136&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=32136&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=32136&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=32136&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=32136&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=32136&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=32136&r=mysqlcfg

Reply via email to