Array in PEAR::SOAP

From: Date: Tue, 18 Jun 2002 19:06:17 +0000
Subject: Array in PEAR::SOAP
Groups: php.soap 
Request: Send a blank email to php-soap+get-129@lists.php.net to get a copy of this message
Hi, I have a services with PEAR::SOAP, the response is a array of struct but I think that the response is not correct: <ns6:newslistResponse> <NewsList xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:anyType[6]" SOAP-ENC:offset="[0]"> <news> <id xsi:type="xsd:int">4980</id> <title xsi:type="xsd:string">bla,bla,bla</title> <audiorm xsi:type="xsd:string">http://realserver.sld.cu/ramgen/aldia/4980.rm</audiorm > </news> <news> <id xsi:type="xsd:int">4981</id> <title xsi:type="xsd:string">bla,bla..</title> <audiorm xsi:type="xsd:string">http://realserver.sld.cu/ramgen/aldia/4981.rm</audiorm > </news> <news> .... </news> </NewsList> </ns6:newslistResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> I think that SOAP-ENC:arrayType="xsd:anyType[3]" it is not correct, maybe something like SOAP-ENC:arrayType="xsd:news[3]" and the element <news> something like: <news xsi:type="......"> but I dont know how I can change that in the server-side. Please, help me, Luis

« previous php.soap (#129) next »