|
No Elemnt Arrays and Complex DataType: msg#00056php.nusoap.general
Hello. I have a datatype lie this: $server->wsdl->addComplexType( 'Airport', 'complexType', 'struct', 'all', '', array( 'code' => array('name'=>'code','type'=>'xsd:string'), 'description' => array('name'=>'description','type'=>'xsd:string') ) ); And other one that is like this: $server->wsdl->addComplexType( 'AirportArray', 'complexType', 'array', '', 'SOAP-ENC:Array', array(), array( array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'tns:Airport[]') ), 'tns:Airport' ); They work really good, but i need now to pass a response when there is no aviable data. So i need a zero element array. i make it this way: $airports = array(); return $ariports; but it still seems to have one element... How must i pass a zero element array and how must i check it on the client side?? thanks ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Re: abstract type using noose causing error: 00056, Scott Nichol |
|---|---|
| Next by Date: | Re: No Elemnt Arrays and Complex DataType: 00056, Scott Nichol |
| Previous by Thread: | NuSOAP server description pagei: 00056, Larry Brown |
| Next by Thread: | Re: No Elemnt Arrays and Complex DataType: 00056, Scott Nichol |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |