|
Not being a java guy can you upload your java files that I could use to test this? Thanks! I tested string arrays on flex (a = ["a", "b"]) and it works just fine. I can not test Java code here. Could you please have Flex example that reproduces the problem so I could test it? It works only in Flex application, it does not work in Java. Attached are the Java and PHP files. a. Import the attached TestAMF java project in eclipse If it works with flex, then how do you know the problem is with our code? What Java does differently from flex so flex works but Java doesn't? We are using the Java Implementation of flash's Netconnection as indicated in the earlier cmment which is the AMFConnection class. It is sending an ArrayReference. An ArrayReference in Java is just a reference to an already declared array in the AMF body. According to AMF protocol, any AMF supporting backend should support ArrayReferences too Also, If you notice in the AMF message, the body returns the internal "parameters" list. There's also a parameters value that has the original "parameters" list as well which means that both "body" and "parameters" refer to the same object and the one that you are getting in the body is ArrayReference. |
||||||||||||||||||||||||||||||||||||||||||||||||
This is using Java