php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45084 SoapServer Don't Work at Windows Vista
Submitted: 2008-05-24 00:59 UTC Modified: 2009-05-06 01:00 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: neumann at ntech dot com dot br Assigned:
Status: No Feedback Package: SOAP related
PHP Version: 5.2.6 OS: Windows Vista
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: neumann at ntech dot com dot br
New email:
PHP Version: OS:

 

 [2008-05-24 00:59 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-06-02 06:42 UTC] kalle@php.net
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-06-02 12:08 UTC] albert at insad dot nl
Did you check your firewall rules?
To me it looks like Vista is blocking you :)
 [2008-08-12 23:24 UTC] neumann at ntech dot com dot br
the error returned is: PHP Fatal error:  Maximum execution time of 30 seconds exceeded in C:\\wwwroot\\soap\\HelloClient.php.... The error don't occurs with the same script running at XP or Linux. I turn off the firewall, was increased the PHP parameter 'max_execution_time' but allways return the same error.
 [2009-04-28 18:38 UTC] jani@php.net
Please try using this CVS snapshot:

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

  http://windows.php.net/snapshots/

And instead of localhost try 127.0.0.1 :)
 [2009-05-06 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 11:01:29 2024 UTC