Which syntax correctly declares the OutputService interface?
OutputService
The AEM Forms (LiveCycle) OutputService API declares its PDF-generation method as generatePDFOutput, which returns a Document object representing the rendered output and declares that it throws OutputServiceException; it accepts the input document, the merged XML data document, and a PDFOutputOptions object as parameters. This matches the standard Java interface declaration used by the Output service, as opposed to variants that use an incorrect method name (invokePDFOutput) or an incorrect return type (InputStream).
Community Discussion