Re: [SOAP] Classmap

From: Date: Tue, 26 Jun 2007 15:33:15 +0000
Subject: Re: [SOAP] Classmap
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-2567@lists.php.net to get a copy of this message
Heitor Machado escribió:
Hi, Somebody has been found a solution to the classmap bug. I means, when you set some classmap PHP seans to ignore it and use just the StdClass. regards Heitor Can you paste the code please... 'Cause it works for me!
SOAP Server code: [...] class SubscriberData { public $id; public $age; public $email; public $name; }//class SubscriberData /*----------------MAIN-----------------*/ $classmap = array('SubscriberData' => 'SubscriberData'); $server = new SoapServer( WS_WSDL, array('classmap' => $classmap ) ); [...]

« previous php.soap (#2567) next »