Trouble with web service that returns an array of arrays

Hello,

I have a project thats dealing with making SOAP calls to various web services. One in particular returns an array of arrays for the logged in user. When I do a trace() on the return, it traces out as [object Object]. So I assume that this is the Main Array. Everything I do to try and access the contents traces out as undefined. Hope this makes sense. I am unable to post the exact code due to my clients security concerns.

Thanks for any help you can offer.

~squirt

what about trace(array[0][0]); or something like that?

yeah that came up as undefined as well.

not sure if it matters, but I forgot to mention its a php web service.

Is their a way I can see this returned array? like a link to the file? Maybe it an array with objects like array.object1, array.object2, array.variable1 etc…

Array
(
[SessionID] => di835e5frcghngh3lsrkrma246
[UnitList] => Array
(
[0] => Array
(
[MobileUnitIndex] => b4
[unitvalid] => b5
[unitname] => b4a4a4a4a4a8a4f4e8e5f0e1f7bea4
[level] => b2
[statuscolor] => a7c0c5c5b1b6b4
[status] => c8cbd7
[percentcolor] => a7b4b4c2c2b4b4
[percent] => b6a4a1
)

        [1] => Array
            (
                [MobileUnitIndex] => b5
                [unitvalid] => b5
                [unitname] => a4c0f1e9e9fda4cfebf6e1a4d1eaedf0
                [level] => b2
                [statuscolor] => a7c0c5c5b1b6b4
                [status] => c8cbd7
                [percentcolor] => a7b4b4c2c2b4b4
                [percent] => b5a4a1
            )

)

The amount of arrays changes based on the user. So this example returns two. The sessionID is tracing out fine.

try:
trace(array[1][0][0].MobileUnitIndex); and see if that traces out that variable

and trace(array[1][1][0].MobileUnitIndex);

will trace the bottom array I believe.

Bummer. Still a no go.

I was thinking of starting to look into the SOAPCall Class.
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00003698.html

Wondering if the SOAPCall.doLazyDecoding has anything to do with it. Says it handles “Turning on/off the delay of converting SOAP arrays into ActionScript objects”