SOAP Server not renewing the implemented class when the code is updated

From: Date: Tue, 21 Mar 2006 22:22:37 +0000
Subject: SOAP Server not renewing the implemented class when the code is updated
Groups: php.soap 
Request: Send a blank email to php-soap+get-2157@lists.php.net to get a copy of this message
Hello, I'm trying to update a "DoAction" class for the SOAP server without requiring a restart for apache (If I do a restart, the "DoAction" class is reloaded with the updated version). Is there a way for me to tell the SoapServer to forget what it has in its cache and reload the "DoAction" class? Or perhaps a way to trick the server into an unload and subsequently will just reload when needed? From what I understand, the SoapServer creates a single instance of the class and makes calls to that class for performance reasons. The server code is like this: /********/ require_once("soap/class.DoAction.php"); $NAMESPACE = 'http://server.com/mynamespace'; $server = new SoapServer(null,array('uri'=>$NAMESPACE)); $server->setClass('DoAction'); $server->handle(); /********/ PHP 5.1.2 FreeBSD 5.4 TIA -Mark

« previous php.soap (#2157) next »