Forum Discussion
jamesrender
16 years agoOccasional Contributor
I'm also suffering with the same condition. The problem is preventing me from writing the meaningful test conditions I'd like..
I've tried registering the aliases as suggested, to no avail..
is it possible to turn on some debugging, or get more information on what the deserialization process is struggling with?
here is my script
import flex.messaging.io.amf.client.AMFConnection;
log.info("registering Wks aliases");
AMFConnection.registerAlias("com.xxx.wks.comp.dao.WksDAODesktop", "com.xxx.wks.comp.dao.WksDAODesktop");
AMFConnection.registerAlias("com.xxx.wks.comp.dao.WksDAOBook", "com.xxx.wks.comp.dao.WksDAOBook");
AMFConnection.registerAlias("com.xxx.wks.comp.dao.WksDAOPage", "com.xxx.wks.comp.dao.WksDAOPage");
AMFConnection.registerAlias("com.xxx.wks.comp.dao.WksDAOComp", "com.xxx.wks.comp.dao.WksDAOComp");
AMFConnection.registerAlias("com.xxx.wks.comp.dao.WksDAOCompType", "com.xxx.wks.comp.dao.WksDAOCompType");
log.info("registering Wks aliases.. done");
jar file has been dropped into place, and I can see the log message saying its loaded..
I've tried registering the aliases as suggested, to no avail..
is it possible to turn on some debugging, or get more information on what the deserialization process is struggling with?
here is my script
import flex.messaging.io.amf.client.AMFConnection;
log.info("registering Wks aliases");
AMFConnection.registerAlias("com.xxx.wks.comp.dao.WksDAODesktop", "com.xxx.wks.comp.dao.WksDAODesktop");
AMFConnection.registerAlias("com.xxx.wks.comp.dao.WksDAOBook", "com.xxx.wks.comp.dao.WksDAOBook");
AMFConnection.registerAlias("com.xxx.wks.comp.dao.WksDAOPage", "com.xxx.wks.comp.dao.WksDAOPage");
AMFConnection.registerAlias("com.xxx.wks.comp.dao.WksDAOComp", "com.xxx.wks.comp.dao.WksDAOComp");
AMFConnection.registerAlias("com.xxx.wks.comp.dao.WksDAOCompType", "com.xxx.wks.comp.dao.WksDAOCompType");
log.info("registering Wks aliases.. done");
jar file has been dropped into place, and I can see the log message saying its loaded..