#28751 [NEW]: SoapServer doesn't use __autoload()...
| From: | Franck at e-Dot dot nl | Date: | Sat, 12 Jun 2004 07:59:28 +0000 |
| Subject: | #28751 [NEW]: SoapServer doesn't use __autoload()... | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-30546@lists.php.net to get a copy of this message | ||
From: Franck at e-Dot dot nl
Operating system: Linux 2.6
PHP version: 5.0.0RC2
PHP Bug Type: PECL related
Bug description: SoapServer doesn't use __autoload()...
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 bug report at http://bugs.php.net/?id=28751&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28751&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28751&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28751&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28751&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28751&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28751&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28751&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28751&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28751&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28751&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28751&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28751&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28751&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28751&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28751&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28751&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28751&r=float