I just wanted to add that the call is executing successfully on the
server side as shown by tomacat debug log.

Thanks,
Aejaz

--- In [email protected], "aejaz_98" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I am calling a java method on server side which returns
> an array of type Object[]. On the client side I do the
> following,
> 
> var arr:Array = remoteObject.call();
> 
> Doing this gives me an exception which says,
> 
> TypeError: Error #1034: Type Coercion failed: cannot convert
> mx.rpc::[EMAIL PROTECTED] to Array.
> 
> After changing the type of arr to AsyncToken ,I do see that
> there is a result field in the AsyncToken object which was
> returned but that too is null. What is the significance of
> the AsyncToken object here ?
> 
> According to the Flex Developer's guide(page 1154), I would have
> got an Array as the result of the call. Please let me know what am
> I doing wrong.
> 
> Thanks,
> Aejaz
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to