We're using BlazeDS + Flex to invoke Java methods on the server side.
Everything is working well, except that some properties on VO objects
are losing their type information. We're using Charles to introspect
the traffic that is going from the client to the server and its
showing some properties as being correctly typed and others as not.
This problem seems to happen regardless of the object encoding that is
set on the NetConnection.
Any ideas on why this would happen?
Here is an snippet of our VO class:
-----------------------------------------------------------------
[Bindable]
[RemoteClass(alias="LineupDTO")]
public class LineupDTO
{
public var categories : Array;
public var videoIds : Array;
}
Here is a snippet from what Charles shows
--------------------------------------------------------------------
[1] Custom Class LineupDTO
categories Null
videoIds Array
As you can see, the type of the videoIds property is correctly
specified (Array), but the categories property is not. Any ideas on
why this would happen?
Thanks.