Re: Re: [SOAP] problems with SOAP-PHP5 and heritage
| From: | Kevin Barnard | Date: | Thu, 16 Nov 2006 14:01:31 +0000 |
| Subject: | Re: Re: [SOAP] problems with SOAP-PHP5 and heritage | ||
| References: | 1 2 3 4 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-2401@lists.php.net to get a copy of this message | ||
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="http://xml.apache.org/xml-soap"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:ns2="http://www.bioma.com.br"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><SOAP-ENV:listPersonnelResponse><return
SOAP-ENC:arrayType="ns1:Map[1]" xsi:type="ns2:array"><item
xsi:type="ns1:Map"><item><key xsi:type="xsd:string">idpersonnel</key><value
xsi:type="xsd:string">idpersonnel</value></item><item><key
xsi:type="xsd:string">fistname</key><value
xsi:type="xsd:string">fistname</value></item><item><key
xsi:type="xsd:string">lastname</key><value
xsi:type="xsd:string">lastname</value></item><item><key
xsi:type="xsd:string">email</key><value
xsi:type="xsd:string">email</value></item></item></return></SOAP-ENV:listPersonnelResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
Was the output I got from you. Your output does not match the WSDL.
Can somebody help Ronaldo on how to get his output correct. I think
he needs to use a class instead of an array.
On 11/13/06, Ronaldo Reis Junior <chrysopa@gmail.com> wrote:
Attachment: [text/xml] Personnel.wsdl.xml
Em Sexta 10 Novembro 2006 04:02, Kevin Barnard escreveu: The problem is the server not the client. This has nothing to do with inheritance. You SOAP server is not returning a result back. Try this $client = new SoapClient($this->_serviceDir . 'Personnel.wsdl', array('trace'=>true, exceptions=>false)); $client->listPersonnel(); echo $client->__getLastResponse(); die(); What does this return? Nothing this dont show the error message (dont return anything), but dont work. Any other idea to test to find this inheritance problem? Without inheritance it work. I dont understand why this! Thanks Ronaldo -- A prig is a fellow who is always making you a present of his opinions.-- Kevin Barnard "Great Beauty, great strength, and great Riches, are really and truly of no great Use; a right Heart exceeds all." -- Benjamin Franklin-- George Eliot-- 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: [text/xml] Personnel.wsdl.xml