To add a TaskManager endpoint to a service, perform the
following tasks:
Include project files.
Create an EndpointRegistryClient object.
Create a category for the endpoint.
Set TaskManager endpoint attributes.
Create a TaskManager endpoint.
Enable the endpoint.
Include project files
Include the necessary files in your development
project. If you are creating a client application by using Java,
include the necessary JAR files. If you are using web services,
make sure that you include the proxy files.
The following
JAR files must be added to your project’s class path:
adobe-livecycle-client.jar
adobe-usermanager-client.jar
adobe-utilities.jar (required if LiveCycle is deployed
on JBoss Application Server)
jbossall-client.jar (required if LiveCycle is deployed
on JBoss Application Server)
For information about
the location of these JAR files, see Including LiveCycle Java library files.
Create an EndpointRegistry Client object
Before you can programmatically
add a TaskManager endpoint, you must create an EndpointRegistryClient object.
Create a category for the endpoint
Categories are used to organize
services within Workspace. That is, a Workspace user can invoke
a service that has a TaskManager endpoint by selecting a category
within Workspace. When creating a TaskManager endpoint, you can either
reference an existing category or programmatically create a new
category.
Note: This section creates a new category
as part of adding a TaskManager endpoint to a service.
Set TaskManager endpoint attributes
To create a TaskManager
endpoint for a service, specify the following values:
Connector identifier: Specifies the type of endpoint
that is created. To create a TaskManager endpoint, specify TaskManagerConnector.
Description: Specifies the description of the endpoint.
Name: Specifies the name of the endpoint.
Service identifier: Specifies the service to which
the endpoint belongs.
Category: Specifies a category identifier value that
is associated with the TaskManager endpoint.
Operation name: Typically, when creating a TaskManager
endpoint for a service that originated from a process created in
Workbench, the name of the operation is invoke.
Create a TaskManager endpoint
After you set a TaskManager endpoint
attributes, you can create a TaskManager endpoint for a service.
Enable the endpoint
After you create a new endpoint, you must
enable it. When the endpoint is enabled, it can be used to invoke
the service from within Workspace. After you enable the endpoint,
you can view it within Administration Console.