when I send an object through an HTTPService to an XML api run by a Rest ruby on rails server.. how does it get converted to XML? I mean, it just works fine for strings and numbers, but for example Date type conversion causes an "unprocessable entity" error on rails log..

Any Idea?

+1  A: 

One possibility is that when the object is converted to XML, Flash calls toString() on the Date object, resulting in the Day Mon DD HH:MM:SS TZD YYYY format. If you call valueOf() on the Date object, you will get milliseconds since epoch, which is probably better for your case.

Niko Nyman
probably.. but it'd be nice to know..anyway I wrote a function to parse every Data field and convert it to the proper string format..