18 Jun 2012 10:24 AM #1
Returning a Map<String,Object> from a RPC call
I am attempting to return a Map that uses a String key and values that include a String or some User defined objects that are defined in the shared module. When I return these user defined objects simply as ArrayList<user object> everything works well. When I add them to the above mentioned Map as Map.put.(String key, value User Defined object) the call fails saying that "Type 'mil.dod.j8.gfm.shared.model.UiTypeTransferRequest' was not iuncluded in the set of types which can be serialized by this SerializaitonPolicy". The user defined objects all implement IsSerializable but I still get this message after they have been added to the Map? The Map is being created correctly on the server but I can't get it to tranmit over RPC without the serialization error?