problems with SOAP-PHP5 and heritage

From: Date: Wed, 01 Nov 2006 13:14:01 +0000
Subject: problems with SOAP-PHP5 and heritage
Groups: php.soap 
Request: Send a blank email to php-soap+get-2383@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? -- QOTD: "I haven't come far enough, and don't call me baby." -- > 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.soap (#2383) next »