ID: 45084
Comment by: albert at insad dot nl
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:
Did you check your firewall rules?
To me it looks like Vista is blocking you :)
Previous Comments:
------------------------------------------------------------------------
[2008-06-02 06:42:35] [EMAIL PROTECTED]
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
------------------------------------------------------------------------
[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