0 Replies Latest reply on Nov 29, 2007 7:14 AM by jkahn117

    Data service typed object deserialization

    jkahn117 Level 1
      I have been trying to understand how deserialization of a typed object from a DataService is handled. Currently, my Java service returns an object of type "sample.User" and I have mapped it to an AS class of the same name via RemoteClass metadata.

      In my Flex application, however, a vanilla Object (instead of a "User") is returned as the result of the service call. Is there a way to force the Flash player to deserialize the result to a properly typed object? All of the properties for a User exist in the Object, but I need the strong typing for my application. Also of note, "result is User" returns true so the framework does know that the returned result is of type User.

      I found a mention on this on a blog, which I have captured here.