Forum Discussion
jamesrender
16 years agoOccasional Contributor
bump, could have some help please, I've created another AMFTestCase and am unable to marshal back to a testable object:
have created the script, and added the java jar to the classpath
tried registering the alias both ways :S
Using script:
import flex.messaging.io.amf.client.AMFConnection;
log.info("registering aliases");
AMFConnection.registerAlias("com.xxx.ibtcp.cpp.ui.model.InvocableAction", "com.xxx.cp.odx.model.vo.InvocableAction");
AMFConnection.registerAlias("com.xxx.cp.odx.model.vo.InvocableAction", "com.xxx.ibtcp.cpp.ui.model.InvocableAction");
log.info("registering aliases.. done");
have created the script, and added the java jar to the classpath
tried registering the alias both ways :S
Using script:
import flex.messaging.io.amf.client.AMFConnection;
log.info("registering aliases");
AMFConnection.registerAlias("com.xxx.ibtcp.cpp.ui.model.InvocableAction", "com.xxx.cp.odx.model.vo.InvocableAction");
AMFConnection.registerAlias("com.xxx.cp.odx.model.vo.InvocableAction", "com.xxx.ibtcp.cpp.ui.model.InvocableAction");
log.info("registering aliases.. done");