Flex DocumentReference and LiveCycle 8.2
If you plan to use a DocumentReference to send a file to LiveCycle, such as an xml file, you need to ensure that you're using the latest adobe-remoting-provider.swc found xxx\LiveCycle8.2\LiveCycle_ES_SDK\misc\DataServices\Client-Libraries.
Previous versions of the DocumentReference allow for xml, but with 8.2, you need to send your document within the text property.
Look at "LCDS-325" at http://help.adobe.com/en_US/