Re: Re: problems with SOAP-PHP5 and heritage

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

 



<?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:
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.
                -- 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



--
Kevin Barnard

"Great Beauty, great strength, and great Riches,
are really and truly of no great Use;
a right Heart exceeds all." -- Benjamin Franklin
<?xml version="1.0"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:tns="http://www.bioma.com.br"; xmlns:soap-env="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; targetNamespace="http://www.bioma.com.br";><types><xsd:schema><xsd:complexType name="array"><xsd:complexContent><xsd:restriction base="soapenc:array"><xsd:attribute ref="soapenc:arrayType" arrayType="tns:mixed[]"/></xsd:restriction></xsd:complexContent></xsd:complexType><complexType name="mixed"><all><element name="varString" type="xsd:string"/><element name="varInt" type="xsd:int"/><element name="varFloat" type="xsd:float"/><element name="varBool" type="xsd:bool"/><element name="varArray" type="tns:array"/></all></complexType></xsd:schema></types><message name="PersonnelInput"/><message name="PersonnelOutput"/><portType name="PersonnelPortType"><operation name="Personnel"><input message="tns:PersonnelInput"/><output message="tns:PersonnelOutput"/></operation></portType><binding name="PersonnelBinding" type="tns:PersonnelPortType"><soap-env:binding xmlns="http://schemas.xmlsoap.org/wsdl/soap/"; style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/><operation xmlns:default="http://schemas.xmlsoap.org/wsdl/soap/"; name="Personnel"><input xmlns:default="http://schemas.xmlsoap.org/wsdl/soap/";><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/"; use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output xmlns:default="http://schemas.xmlsoap.org/wsdl/soap/";><soap-env:body xmlns="http://schemas.xmlsoap.org/wsdl/soap/"; use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation></binding><service name="PersonnelService"><port xmlns:default="http://schemas.xmlsoap.org/wsdl/soap/"; name="PersonnelPort" binding="tns:PersonnelBinding"><soap-env:address xmlns="http://schemas.xmlsoap.org/wsdl/soap/"; location="http://localhost/bruno/BiomaModel/personnel.php"/></port></service></definitions>

-- 
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