Integration with salesforce | Community
Skip to main content
Level 2
October 16, 2015
Solved

Integration with salesforce

  • October 16, 2015
  • 11 replies
  • 4979 views

Hi,

I am trying to integrate Salesforce with AEM 6.0 as per this link:

http://docs.adobe.com/docs/en/aem/6-0/administer/integration/third-party-services/salesforce.html

But I am getting this error:

18.03.2015 12:01:40.181 *ERROR* [JobHandler: /etc/workflow/instances/2015-03-18/model_163017207920287:/home/users/geometrixx-outdoors/aaron.mcdonald@mailinator.com/profile] com.adobe.granite.workflow.core.job.JobHandler Process execution resulted in an error
com.adobe.granite.workflow.WorkflowException: Process execution resulted in an error
    at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:218)
    at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:140)
    at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:365)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

 

I read the previous discussions but I didn't get that what could be the setting for  Day Commons HTTP Client 3.1. I also tried using SSL enabled proxy https://127.0.0.1:5433/libs/cq/workflow/content/console.html.

I have attached the screenshot of error.log and Day Commons HTTP Client 3.1.

 

Any reply will be great help.

Regards,

Sandeep Sahu

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 gopalKa

https://chrome.google.com/webstore/detail/rest-console/cokgbflfommojglbmbpenpphppikmonn?hl=en link shows you a rest client that allows oauth. Basically oauth is sent via a header  and all clients allow that.  WRT your actual issue, IIUC, you have been using the OOB feature as Scott mentioned, please raise a ticket with the logs and a package which can be used to replicate the issue.

11 replies

Murali89
Level 2
October 16, 2015

sandeep.a.sahu wrote...

Thank for replying. I tried doing that, I am getting access token in session cookie successfully. But Salesforce needs OAUTH authorization for posting or getting results, so I was not able to do that by RESTClient. And after getting access token in cookie, the workflow goes into STALE state and gives the same jobhandler error when I started the OOB workflow for posting leads into salesforce. Or please suggest me how to do oauth in salesforce.

 

I am facing the same issue, Is there a resolution available for this issue??