Handling documents with Remoting

One of the most important non-primitive Java types used in LiveCycle is the com.adobe.idp.Document class. A document is commonly required to invoke a LiveCycle operation. It is primarily a PDF document, but can contain other document types such as SWF, HTML, XML, or a DOC file. (See Passing data to LiveCycle services using the Java API .)

A client application built with Flex cannot directly request a document. For example, you cannot launch Adobe Reader to request a URL that produces a PDF file. Requests for document types, such as PDF and Microsoft Word documents, return a result that is a URL. It is the client’s responsibility to display the contents of the URL. The Document Management service helps generate the URL and content type information. Requests for XML documents return the full XML document in the result.

// Ethnio survey code removed