A client application receives an object of type
mx.rpc.livecycle.DocumentReference
for
a service operation that returns an
com.adobe.idp.Document
instance
as an output parameter. Because a client application deals with
ActionScript objects and not Java, you cannot pass a Java-based
Document object back to a Flex client. Instead, the server generates
a URL for the document and passes the URL back to the client. The
DocumentReference
object’s
referenceType
property
specifies whether the content is in the
DocumentReference
object
or must be retrieved from a URL in the
DocumentReference.url
property.
The
DocumentReference.contentType
property specifies
the type of document.
|
|
|