#45084 [Opn]: SoapServer Don't Work at Windows Vista

From: Date: Mon, 02 Jun 2008 06:42:36 +0000
Subject: #45084 [Opn]: SoapServer Don't Work at Windows Vista
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-125416@lists.php.net to get a copy of this message
 ID:               45084
 Updated by:       kalle@php.net
 Reported By:      neumann at ntech dot com dot br
 Status:           Open
 Bug Type:         SOAP related
 Operating System: Windows Vista
 PHP Version:      5.2.6
 New Comment:

Have you checked your error log for any errors? When I try to run the
reproduce script I get a maximum execution error, I've seen on some
setups that PHP errors mixed with output buffering may cause HTTP 500
errors.

[02-Jun-2008 08:37:56] PHP Fatal error:  Maximum execution time of 30
seconds exceeded in C:\webserver\www\HelloClient.php on line 9


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

[2008-05-24 00:59:42] neumann at ntech dot com dot br

Description:
------------
If I execute HelloClient.php with the HelloServer.php at windows vista,
don't work(error 500). If I Copy the same HelloServer.php to another
server, and execute the same HelloClient.php at Windows Vista, it work
well...

PS:. Remember to change the param location in HelloClient.php, point it
to the HelloServer.php location URL.

Reproduce code:
---------------
<?php #HelloClient.php
   $client = new SoapClient(null, array(
      'location' => "http://localhost/soap/HelloServer.php",
      'uri'      => "http://localhost/",
      'trace'    => 1 ));

   $return = $client->__soapCall("hello",array("world"));
   echo $return;
?>
*************
<?php #HelloServer.php
function hello($someone) { 
   return new SoapParam("Hello " . $someone . "!","myparam");
} 
   $server = new SoapServer(null, 
      array('uri' => "http://localhost/"));
   $server->addFunction("hello"); 
   $server->handle(); 
?>

Expected result:
----------------
display the text: Hello world! 

Actual result:
--------------
http server error 500


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


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



Thread (6 messages)

« previous php.bugs (#125416) next »