To retrieve endpoint connector information, perform the
following tasks:
Include project files.
Create an ConnectorRegistryClient object.
Specify the connector type.
Retrieve configuration values.
Include project files
Include the necessary files into 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)
If LiveCycle is deployed on a supported J2EE application server that is not JBoss,
then replace adobe-utilities.jar and jbossall-client.jar with JAR
files that are specific to the J2EE application server on which
LiveCycle is deployed. For information about the location
of all LiveCycle JAR files, see Including LiveCycle Java library files.
Create an ConnectorRegistry Client object
To programmatically
retrieve endpoint connector information, create a ConnectorRegistryClient object.
Specify the connector type
Specify the type of connector from
which to retrieve information. The following types of connectors
exist:
EJB: Enables a client application to
invoke a service using the EJB mode.
SOAP: Enables a client application to invoke a service
using the SOAP mode.
Watched Folder: Enables watched folders to invoke
a service.
Email: Enables email messages to invoke a service.
Remoting: Enables a Flex client application to invoke
a service.
TaskManagerConnector: Enables a Workspace user to
invoke a service from within Workspace.
Retrieve configuration values
After you specify the connector type,
you can retrieve information about the connector such as supported
configuration value. For example, for any connector, you can determine
which configuration values are required and which ones are optional.