Re: Howto send Flex2 ByteArray type to java
| Newsgroups | gmane.comp.java.openamf.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Todd, i take a look to CarbonFive astranslator package and is pretty good, but ActionScript type ByteArray it's not translated...:( I'm trying to send a numeric buffer from actionscript... Flex2/OpenAMF seems to work well, i simply connect from as3 with NetConnection object and use the Responder object to call the server-side methods...If you want i can send you a simple example... Thanks for the interest... alfdev PS: sorry for my English :) > I haven't personally used OpenAMF with Flex2. I would be curious about > your general experiences. Are things basically working? > > In general the data translation in OpenAMF is done via the CarbonFive > astranslator package. See: > > http://carbonfive.sourceforge.net/astranslator/api/com/carbonfive/flash/package-summary.html#documentation > > The carbonfive data translation is pretty good, it does a lot of > conversion automagically. I would try creating a service method in Java > that accepts a very generic argument like Object, Object[], ASObject, > Array, or List. Then send the data from Flex to Java. In Java, take a > look at what you got. > > > You might also use an AMF-aware web debugger like Charles or Service > Capture to see the raw data flows. > > - Todd > > > > [email protected] wrote: > > hi all, > > > > i'm developing a flex2/java application and i need to send a ByteArray from flex2 to the server app written in java. > > > > does anybody know if byteArray is supported and how I can do this operation? > > > > > > thanks > > alfdev > > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Openamf-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openamf-user > ------------------------------------------------------ Passa a Infostrada. ADSL e Telefono senza limiti e senza canone Telecom http://click.libero.it/infostrada ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/