#28751 [Opn->Csd]: SoapServer does not call _autoload()

From: Date: Tue, 06 Jul 2004 07:31:53 +0000
Subject: #28751 [Opn->Csd]: SoapServer does not call _autoload()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-61752@lists.php.net to get a copy of this message
 ID:               28751
 Updated by:       dmitry@php.net
 Reported By:      Franck at e-Dot dot nl
-Status:           Open
+Status:           Closed
 Bug Type:         SOAP related
 Operating System: Linux 2.4.19C13V (Sun Cobalt)
 PHP Version:      5.0.0RC3
 New Comment:

Fixed in CVS HEAD.


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

[2004-06-14 11:39:15] Franck at e-Dot dot nl

Changed Summary.

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

[2004-06-14 11:38:47] derick@php.net

Fixing the summary.

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

[2004-06-14 11:36:58] Franck at e-Dot dot nl

Changed Category: PECL Related -> SOAP Related

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

[2004-06-12 09:59:27] Franck at e-Dot dot nl

Description:
------------
When using the SoapServer::setClass() function, the server does not
call the __autload function when creation of the set class is needed
and class does not exists in memory.

Message from SoapServer:
SOAP-ENV:Server Tried to set a non existant class

Reproduce code:
---------------
function __autoload($className) {
	require_once "./classes/" . $className . ".php";
}


ini_set("soap.wsdl_cache_enabled", "0");
$Server = new SoapServer(SoapServerWSDL,wsdl");

//I'm currently using this line as an solution:
//$forceload = new SoapServerActions();

$Server->setClass("SoapServerActions");
$Server->handle();



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


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


Thread (1 message)

  • dmitry@php.net
  • Unknown Message
    • dmitry@php.net
« previous php.bugs (#61752) next »