I have written a Java class that takes an argument of a java
Collection, that consists of my custom Java VOs.
When I call this from Flex 2.0 beta 3 when the class is in my
JRun classpath, everything is fine.
Flex converts the argument to a Collection that Java can
understand.
When I call the same class remotely, I receive an error from
Java.
It seems Flex wraps the ArrayCollection in a
flex.messaging.io.ArrayCollection for remote calls.
Anyone know how to prevent and/or get around this.
My remote object is defined as:
<mx:RemoteObject id="GenSQL_StatusReason"
destination="SecurityManagerRO" showBusyCursor="true">
<mx:method name="genSQL_StatusReason"
result="event.call.resultHandler(event)"
fault="event.call.faultHandler( event )"/>
</mx:RemoteObject>
The Java interface looks like this:
import java.util.Collection;
public String genSQL_StatusReason(LifeCycleStatusVO
statusVO,
ReasonVO reasonVO, Collection Teams, Collection Queues){
etc . . .