Forum Discussion
rwebb
16 years agoNew Contributor
I added the Groovy script from the other thread and it did not work. Here is what I did:
Added the following script:
import flex.messaging.io.amf.client.AMFConnection;
AMFConnection.registerAlias( "tutorial.Product", "Product" );
My Java class is the Product class in the tutorial package. I added a JAR containing this class to %SOAPUI%\bin\ext, restarted SoapUI, and made sure the log showed the JAR was added to the classpath.
My Flex class is the Product class in the default (no) package. Is this supposed to be in a JAR too? I added the source - Product.as - to the same JAR as the Java class and it didn't seem to affect anything. (I of course restarted SoapUI.) Is there anything else I should be doing?
Thank you,
Richard Webb
Added the following script:
import flex.messaging.io.amf.client.AMFConnection;
AMFConnection.registerAlias( "tutorial.Product", "Product" );
My Java class is the Product class in the tutorial package. I added a JAR containing this class to %SOAPUI%\bin\ext, restarted SoapUI, and made sure the log showed the JAR was added to the classpath.
My Flex class is the Product class in the default (no) package. Is this supposed to be in a JAR too? I added the source - Product.as - to the same JAR as the Java class and it didn't seem to affect anything. (I of course restarted SoapUI.) Is there anything else I should be doing?
Thank you,
Richard Webb