Main | »

XmlRpc in Flex 2/ActionScript 3.0

I needed XmlRpc to work with Flex 2, so I got the one from mattism.com, and in the process of making it work with ActionScript 3.0 (it's written for 2.0) kind of gutted it (Ok, so I've only been working with this whole Flex/AS business for about a week and a half). The gutted part has to do with error/fault handling mostly
(I was confused), and also with removing some of the interface/implementation business, sorry, an). Other changes are:


  1. com.qbf.flex.util.xmlrpc.XmlRpcService class that kind of makes it easier to call things (that's what I use).
  2. A little progress bar is displayed, modally, while a request is executing
    (that's what I needed; you can certainly change it to not appear or not be modal)
  3. FakeResponse - for when you want to debug without running a back-end. I think it's pretty self-explanatory, so I haven't bothered with comments much (not that I have time anyway...)
  4. Handling for <NIL> and <STRUCT>, etc.


As I realized the error of my ways, I was going to clean it up quite a bit and post
it sooner, but since others are asking, here it is. The whole thing is available at
http://www.hrum.org/people/debedb/pro/ref/xmlrpc.zip.
It's LGPL because the original is LGPL.

In other news:

TrackBack

TrackBack URL for this entry:
http://www.hrum.org/cgi-bin/mt/mt-tb.cgi/3

Post a comment

Search