|
Re: Re: Re: Howto make "nested" arrays?: msg#00074php.nusoap.general
When numeric indices are used, the PHP array corresponds to a SOAP array in XML. When alphanumeric indices (keys) are used, the PHP array corresponds to an XML complexType, such as the CoverageType type you had in an earlier posting. Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Lars Lystrup Christensen" <llc@xxxxxxxxxxxxxxxxx> To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx> Sent: Sunday, April 17, 2005 4:57 PM Subject: [Nusoap-general] Re: Re: Howto make "nested" arrays? Hey again What if I would like to use strings as keys in the final array, like Array ( [Array0] => Array() [Array1] => Array() ... ) Cheers Lars ---------------------------------------------------------------------------------------- From: Scott Nichol <snicholnews@xxxxx> Re: Howto make "nested" arrays? 2005-04-13 19:14 You add another WSDL type $server->wsdl->addComplexType( "ArrayOfCoverageReply", "complexType", "array", "", "SOAP-ENC:Array", array(), array(array("ref"=>"SOAP-ENC:arrayType","wsdl:arrayType"=>"tns:CoverageReply[]")), "tns:CoverageReply" ); That is the type you specify that your method returns. Scott Nichol Do not send e-mail directly to this e-mail address, because it is filtered to accept only mail from specific mail lists. ----- Original Message ----- From: "Lars Lystrup Christensen" <llc@xxxxx> To: <nusoap-general@xxxxx> Sent: Wednesday, April 13, 2005 3:55 PM Subject: [Nusoap-general] Howto make "nested" arrays? ______________________________________ Med venlig hilsen / Kind regards Lars Lystrup Christensen IP Operations Technician Danske Telecom A/S Lautrupsgade 9, 2 2100 København Ø llc@xxxxxxxxxxxxxxxxx +45 35 27 50 00 (Office) +45 35 27 50 50 (Fax) +45 35 27 50 23 (Direct) +45 40 60 55 23 (Mobile) www.dansketelecom.com This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick _______________________________________________ Nusoap-general mailing list Nusoap-general@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/nusoap-general ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: Howto make "nested" arrays?: 00074, Lars Lystrup Christensen |
|---|---|
| Next by Date: | Newbie Question: 00074, Paul Maine |
| Previous by Thread: | Re: Re: Howto make "nested" arrays?i: 00074, Lars Lystrup Christensen |
| Next by Thread: | Re: Problem consuming dot net webservice usign nusoap: 00074, Amol Dalvi |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |