Invoking LiveCycle using the Java API

LiveCycle can be invoked by using the LiveCycle Java API. When using the LiveCycle Java API, you can use either the Invocation API or Java client libraries. Java client libraries are available for services such as the Rights Management service. These strongly typed APIs let you develop Java applications that invoke LiveCycle.

The Invocation API are classes that are located in the com.adobe.idp.dsc package. Using these classes, you can send an invocation request directly to a service and handle an invocation response that is returned. Use the Invocation API to invoke short-lived or long-lived processes that were created by using Workbench.

The recommended way to programmatically invoke a service is to use a Java client library that corresponds to the service as opposed to the Invocation API. For example, to invoke the Encryption service, use the Encryption service client library. To perform an Encryption service operation, invoke a method that belongs to the Encryption service client object. You can encrypt a PDF document with a password by invoking the EncryptionServiceClient object’s encryptPDFUsingPassword method.

The Java API supports the following features:

  • RMI transport protocol for remote invocation

  • VM transport for local invocation

  • SOAP for remote invocation

  • Different authentication, such as user name and password

  • Synchronous and asynchronous invocation requests

Adobe Developer website

The Adobe Developer website contains the following articles that discuss invoking LiveCycle services using the Java API:

Using Java servlets to invoke LiveCycle processes

Invoking the LiveCycle Distiller API from Java

// Ethnio survey code removed