Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Ho to resolve Connection issue with AEM

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

0 Replies

Avatar

Employee Advisor

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

Avatar

Level 1

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

Avatar

Correct answer by
Level 10

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

Avatar

Level 1

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

Avatar

Level 8

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.