Ho to resolve Connection issue with AEM
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