|
Howto make "nested" arrays?: msg#00056php.nusoap.general
Hi there I've got a SOAP server based on the wonderful nuSOAP and using the WSDL part in particular. I want to return an array like this to the client: Array ( [0] => Array() [1] => Array() ... ) The inner part of the array I've already declared with a complextype: $server->wsdl->addComplexType( 'CoverageReply', 'complexType', 'struct', 'all', '', array( 'ServiceID' => array('name' => 'ServiceID', 'type' => 'xsd:string'), 'Coverage' => array('name' => 'Coverage', 'type' => 'xsd:string'), 'Forecast' => array('name' => 'Forecast', 'type' => 'xsd:int') ) ); But how do I return the outer array in a numbered form? In another way, how do I return multiple instances of "CoverageReply"...? ______________________________________ 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=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Typo's I think: 00056, Scott Nichol |
|---|---|
| Next by Date: | Re: custom type needed for phone numbers?: 00056, Andrew Pasetti |
| Previous by Thread: | Re: Typo's I thinki: 00056, Scott Nichol |
| Next by Thread: | Re: Howto make "nested" arrays?: 00056, Scott Nichol |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |