problems with SOAP-PHP5 and heritage

From: Date: Tue, 07 Nov 2006 12:06:28 +0000
Subject: problems with SOAP-PHP5 and heritage
Groups: php.general php.soap 
Request: Send a blank email to php-general+get-244311@lists.php.net to get a copy of this message
Hi, I'm making a webservice using SOAP-PHP5. It working fine. But when I use a method in a class that use a heritage, it fails. The class wrok fine out of the webservice, but dont work on webservice. Look SoapFault exception: [Client] looks like we got no XML document in /var/www/bruno/xtemplate/ControlerClasses/Personnel/Personnel.php:125 Stack trace: #0 [internal function]: SoapClient->__call('listPersonnel', Array) #1 /var/www/bruno/xtemplate/ControlerClasses/Personnel/Personnel.php(125): SoapClient->listPersonnel() #2 /var/www/bruno/xtemplate/ControlerClasses/Personnel/Personnel.php(97): PersonnelTemplate->generatePersonnels() #3 /var/www/bruno/xtemplate/ControlerClasses/BiomaTemplate.php(241): PersonnelTemplate->generate() #4 /var/www/bruno/xtemplate/ControlerClasses/BiomaTemplate.php(159): BiomaTemplate->generatePersonnel() #5 /var/www/bruno/xtemplate/index.php(54): BiomaTemplate->generate() #6 {main} Both, Personnel.php and BiomaTemplate.php is a extended class Look the file Personnel attach and the main class Common. What is the problem? SOAP dont support heritage? -- > Prof. Ronaldo Reis Júnior | .''`. UNIMONTES/Depto. Biologia Geral/Lab. Ecologia Evolutiva | : :' : Campus Universitário Prof. Darcy Ribeiro, Vila Mauricéia | . '` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil | `- Fone: (38) 3229-8190 | chrysopa@gmail.com | ICQ#: 5692561 | LinuxUser#: 205366

Attachment: [application/x-php] Personnel.php
Attachment: [application/x-php] Common.php
« previous php.general (#244311) next »