Ville Mattila wrote: > $server = new SoapServer("phonebook.wsdl"); > $server->setClass("PhonebookService", > array("classmap" => > array('Contact' => 'Contact'), > )); > > $server->handle(); I found the problem myself after a detailed view over the code. array("classmap" =>) should be defined when constructing the SoapServer. The corrent syntax follows: $server = new SoapServer("phonebook.wsdl", array("classmap" => array('Contact' => 'Contact'), )); $server->setClass("PhonebookService"); $server->handle(); Thanks for your time! Ville -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php