Re: [SOAP] nested object in SOAP result

[email protected] (nik600) Wed, 8 Sep 2010 16:43:47 +0200
Newsgroups php.soap
Message-ID <[email protected]>
On Wed, Sep 8, 2010 at 2:50 PM, Richard Quadling <[email protected]> wrote:
> On 8 September 2010 11:25, nik600 <[email protected]> wrote:
>> On Wed, Sep 8, 2010 at 12:10 PM, Richard Quadling <[email protected]> wrote:
>>> On 7 September 2010 19:12, nik600 <[email protected]> wrote:
>>>>
>>
>
> Scalar or Struct - that's the choice. An "array" is a struct.
>
> You are supplying an array of attributes.
>
> The struct is the array.
>
> Nothing is actually wrong.
>
>
> --
> Richard Quadling
> Twitter : EE : Zend
> @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
>

Ok, but on server-side i can do

foreach($Element->Elements as $v){
// process Element $v
}

and on client-side i have to do

foreach($Element->Elements->Struct as $v){
// process Element $v
}


-- 
/*************/
nik600
http://www.kumbe.it