Hi,
I have deployed AEM 6.2 in my local Oracle web Logic 12c and trying to create connection from java code by using below code.
private Properties connectionProps = new Properties();
~connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_SOAP_ENDPOINT, http://localhost:7001);
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL, ServiceClientFactoryProperties.DSC_SOAP_PROTOCOL);
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "WebLogic");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "admin");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "admin');
ServiceClientFactory clientFactory = ServiceClientFactory.createInstance(connectionProps);
I am getting DSCRuntimeException exception.
Please advise, How should I resolve this issue.
Regards,
Shashi
Solved! Go to Solution.
Views
Replies
Total Likes
To make this code work - you need to ensure that you have deployed AEM Forms Document Services, Have you done that?
We have an Ask the AEM Community Experts webinar on that:
https://communities.adobeconnect.com/p4cpf65o98m/?launcher=false&fcsContent=true&pbMode=normal
Also - here is the complete docs on this:
Views
Replies
Total Likes
Hi,
what do you want to achieve? What kind of object is the "ServiceClientFactory"? And what's the exception? Can you please provide the information, so we might be able to resolve this problem.
Kind regards,
Jörg
Views
Replies
Total Likes
Hi Jorg,
Good morning. Thank you very much for quick response.
"ServiceClientFactory object is for com.adobe.idp.dsc.clientsdk.ServiceClientFactory class.
I am trying to connect to Adobe LiveCycle ES2 for exporting xml data from adobe PDF document. once connection will successful, I will com.adobe.livecycle.formdataintegration.client.FormDataIntegrationClient class for exporting XML data from adobe PDF document.
I am using below Adobe jar files in my java code:
adobe-utilities-3.0.jar
adobe-formdataintegration-client-3.0.jar
adobe-barcodedforms-client-2.0.jar
adobe-livecycle-client-3.0.jar
adobe-usermanager-client-3.0.jar
I have AEM 6.1 war cq-quickstart-6.1.0.war running and same Oracle web logic 12c server.
Kindly advise,
Regards,
Shashi
Views
Replies
Total Likes
To make this code work - you need to ensure that you have deployed AEM Forms Document Services, Have you done that?
We have an Ask the AEM Community Experts webinar on that:
https://communities.adobeconnect.com/p4cpf65o98m/?launcher=false&fcsContent=true&pbMode=normal
Also - here is the complete docs on this:
Views
Replies
Total Likes
Hi Jorg,
Thank you for quick response.
Kindly advise, if you could share any document / guide having steps of deployment/configuration of AEM Forms Document Services in Oracle Web logic 12c server.
Regards,
Shashi
Views
Replies
Total Likes
If you're connecting to ES2 the credentials wouldn't be admin/admin. That's the default for AEM. For LiveCycle or AEM Forms JEE the default is administrator/password but if this is a production instance that may have been changed.
Views
Replies
Total Likes
Views
Likes
Replies