ID:               36147
 User updated by:  akos at tigris dot org
 Reported By:      akos at tigris dot org
 Status:           Bogus
 Bug Type:         SOAP related
 Operating System: Win XP, 2003
 PHP Version:      5.1.2
 New Comment:

Yup, I misdiagnosed the issue.
One of the included files had a trailing space after the closing
bracket. The server sent the space back as a leading whitespace which
prompted the client to complain about a non-XML type response.


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

[2006-01-24 21:46:58] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.



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

[2006-01-24 21:25:11] akos at tigris dot org

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.


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


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

Reply via email to