Ho to resolve Connection issue with AEM | Community
Skip to main content
October 12, 2016
Solved

Ho to resolve Connection issue with AEM

  • October 12, 2016
  • 5 replies
  • 1442 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

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:

https://helpx.adobe.com/aem-forms/6-2/topics.html

5 replies

joerghoh
Adobe Employee
Adobe Employee
October 12, 2016

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

October 13, 2016

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

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 13, 2016

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:

https://helpx.adobe.com/aem-forms/6-2/topics.html

October 13, 2016

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

Adobe Employee
October 13, 2016

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.