Theoretically, you can use any format, but I would dwell on XML
or JSON
, because SOAP
is ideologically related to a slightly different field, and raising a SOAP
service is supposedly shooting a gun at sparrows and is unlikely to be promote simplicity and readability of the code.
And further, since the built-in tools for working with XML
and JSON
in the flex are very good, the code should turn out to be quite trivial. The choice between these formats is quite holivar, I can advise an article from the habr - http://habrahabr.ru/blogs/webdev/31225/
At one time, this example came in handy for me (here the truth is the server part on jsp
, but this slightly changes something) - http://www.infoq.com/articles/flex-xml-json
I note that in my case the interaction was trivial - php
clings data from the database and generates xml
in response to a request from the application in ActionScript
. I must say that there were no problems and I can’t even suggest where they may arise here.
_
^ But this is a commercial bun, so I won’t be able to shine it) - Sh4dow