If I use a Module to connect to LCDS,  some aliases do not get
automatically registered, and I have to find them and register them
programatically. Why that? The following messaging aliasses needed to be
registered so far (the list may not be complete), otherwise the "Cannot
convert an Object into a IMessage" type of error is thrown in client.

Also, all my Managed objects with a remote alias set have to have the
aliases programatically registered in module, otherwise they won't work.

All of the above issues do not happen when the LCDS connectivity is
performed from within the main app (not the Module).

Thanks, Robert

      registerClassAlias( "flex.messaging.messages.RemotingMessage",
                         mx.messaging.messages.RemotingMessage );


   registerClassAlias( "flex.data.messages.DataMessage",
                         mx.data.messages.DataMessage );


   egisterClassAlias( "flex.data.messages.SequencedMessage",
                         mx.data.messages.SequencedMessage );




Reply via email to