Store Content to FileNet server using LiveCycle Java APIs

You should have LiveCycle server installed and LiveCycle connector for IBM FileNet should be configured with it.

Follow the steps below to store content to FileNet server using LiveCycle’s Java APIs:

1.) Create ServiceClientFactory Object.

2.) Create an object of IBMFileNetContentRepositoryConnectorServiceClient class using the object of ServiceClientFactory class.

3.) Create an object of the type com.adobe.idp.Document as this is required by the storeContent API.

4.) Call the storeContent API.

For more details about the available API’s see the java docs available at http://help.adobe.com/en_US/livecycle/10.0/ProgramLC/javadoc/

Class path required for running the code:

<LIVECYCLE_ES3_INSTALL_DIR>/sdk/client-libs/common/adobe-connectorforibmfilenet-client.jar
<LIVECYCLE_ES3_INSTALL_DIR>/sdk/client-libs/common/adobe-livecycle-client.jar
<LIVECYCLE_ES3_INSTALL_DIR>/sdk/client-libs/common/adobe-usermanager-client.jar
<LIVECYCLE_ES3_INSTALL_DIR>/sdk/client-libs/common/adobe-repository-client.jar
<LIVECYCLE_ES3_INSTALL_DIR>/sdk/client-libs/thirdparty/axis.jar
<LIVECYCLE_ES3_INSTALL_DIR>/sdk/client-libs/thirdparty/jaxrpc.jar
<LIVECYCLE_ES3_INSTALL_DIR>/sdk/client-libs/thirdparty/commons-logging.jar
<LIVECYCLE_ES3_INSTALL_DIR>/sdk/client-libs/thirdparty/commons-discovery.jar
<LIVECYCLE_ES3_INSTALL_DIR>/sdk/client-libs/thirdparty/wsdl4j.jar

Download source code here.

 

Thanks

Pankaj Gakhar

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)
This entry was posted in Adobe LiveCycle ES3. Bookmark the permalink.

Comments are closed.