Re: Classmap

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ) );
[...]

--
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux