|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-01-24 21:46 UTC] tony2001@php.net
[2006-01-24 23:16 UTC] akos at tigris dot org
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 14:00:01 2025 UTC |
Description: ------------ Require(), include() and similar statements don't behave as expected when used within a script that contains a SOAP server object. PHP SOAP server simply sends back an empty response without reporting any errors. The example below works in the above environments when the require() statement is commented out. Reproduce code: --------------- <?php require_once("somefile.php"); class foo { function foo() { } } $server = new SoapServer("somewsdl.wsdl"); $server->setClass("foo"); $server->handle(); ?> Expected result: ---------------- Response to a valid query. Actual result: -------------- Empty response, the server object seems to fail.