To remove an endpoint from a service, perform the following
tasks:
Include project files.
Create an EndpointRegistryClient object.
Retrieve the endpoint.
Remove the endpoint.
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)
For information about
the location of these JAR files, see Including LiveCycle Java library files.
Create an EndpointRegistry Client object
To programmatically
remove an endpoint, you must create an EndpointRegistryClient object.
Retrieve the endpoint to remove
Before you can remove an endpoint,
you must retrieve it. To retrieve an endpoint, you must connect
as a user who can access an endpoint. It is recommended that you
connect as an administrator. (See Setting connection properties).
You can retrieve an endpoint
by retrieving a list of endpoints. You can then iterate through
the list, searching for the specific endpoint to remove. For example,
you can locate an endpoint by determining the service that corresponds
to the endpoint and the type of endpoint. When you locate the endpoint,
you can remove it.
Remove 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. After you enable the endpoint, you can view it within
Administration Console.