|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31422 No Error-Logging on SoapServer-Side
Submitted: 2005-01-06 01:52 UTC Modified: 2005-01-20 13:55 UTC
From: m dot leuffen at i-line dot net Assigned: dmitry (profile)
Status: Closed Package: SOAP related
PHP Version: 5.0.3 OS: Linux
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.
Block user comment
Status: Assign to:
Bug Type:
From: m dot leuffen at i-line dot net
New email:
PHP Version: OS:


 [2005-01-06 01:52 UTC] m dot leuffen at i-line dot net
When calling a Class by Soap, the SoapServer-Script seems to log/show no errors.

On fatal error occuring in the Server, the client will recieve a SoapFault with the Error-Description but Line-Number of the Client-Call.

SoapClient::__getLastResponse() contains no error-output from Server.

Reproduce code:
// The Server (testServer.php)
	class test {
		public function testMe () {
$obj = new SoapServer(null, array ("uri"=>"http://test-uri/"));

// The Client (testClient.php)
$obj = new SoapClient(null, array ('location' => "","uri"=>"http://test-uri/", 'trace'=>1));
$obj->testMe ();


Expected result:
Any error logging (in php error logfile):

PHP Fatal error: Call to undefined function unknown_function() in testServer.php:5

and any direct error-output from the SoapServer-Script. (to access directly by using SoapClient::__getLastResponse())

Actual result:
No logging of the error occured in testServer.php.
Only Html-Output and Log-entry from the uncaught exception in testClient.php:

Fatal error: Uncaught SoapFault exception: [SOAP-ENV:Server] Call to undefined function unknown_function() in /testClient.php:4 Stack trace: #0 /testClient.php(4): SoapClient->testMe('testMe', Array) #1 {main} thrown in /testClient.php on line 4


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-01-20 13:55 UTC]
Fixed in CVS (HEAD and PHP_5_0).
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 11:01:27 2024 UTC