|
|
To assemble PDF documents using the Assembler service client web service API, perform the following tasks:
•
• Create an AssemblerServiceService object by using your proxy class’ constructor.
• A BLOB object that represents the DDX document to be used.
• A mapItem[] object that contains the files to assemble. It’s keys should be the names of the PDF source files, and its values should be the BLOB objects corresponding to those files.
• An AssemblerOptionSpec object that specifies the environment parameters, including default font and job log level.The invokeDDX method returns a AssemblerResult object that contains the results of the DDX job and any exceptions that may have occurred. To obtain the newly created PDF document, perform the following actions:
• Access the AssemblerResult object’s documents field, which is a mapItem[] object containing the result PDF documents.
• Iterate through the java.util.Map object until you find the key matching the name of the resultant PDF document. Then cast that array member’s value to a BLOB.
• Extract the binary data representing the PDF document by accessing its BLOB object’s binaryData property. This returns an array of bytes that you can write out to a PDF file.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/assemblePDFEJB_API.94.4.html