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 __._,_.___

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





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to