3

We have some Rest webservices in external system which are available in intranet, which needs to be called from Salesforce. I would like to know what are the steps needed to call webservices from SF.

As per my understanding below are the steps to call.

  1. Webservices has to be switched from intranet to internet based.
  2. Salesforce server IP address needs to be whitelisted from Salesforce.
  3. Make Http callout from Salesforce to webservices.

Is my understanding is correct? Or have I missed a few steps?

I would also like to know if it is required to have CA Signed Certificate or Self Signed certificate to make it work.

1
  • As i understand your requirement is a callout from salesforce-did you have to use any certificate to make a call for your requirement.. ?
    – user10727
    Commented Apr 24, 2015 at 6:20

2 Answers 2

2

You do need access to the service from the internet. Whitelisting is one possible method, but salesforce also supports other authentication mechanisms such as two way SSL or signed messages. The only requirement is that the service should meet your organization's IT policies. Whitelisting is one acceptable mechanism, but the may require some tweaking from time to time as salesforce adds new resources. Call outs to external systems also requires that the endpoint be registered in salesforce's security settings to allow call outs to that domain.

1

For anyone else reading this and looking for a more "dynamic solution", I've put together a plugin for Salesforce Visual Workflow which works with any HTTPS endpoint to POST JSON data. Saves writing APEX code or custom triggers.

SFDC Any Object to POST HTTPS JSON Webook

1
  • Be careful about answering too many questions in a way that pushes your product. You disclosed your affiliation, which is good, but just keep in mind the guidance on this page.
    – Adrian Larson
    Commented Jun 22, 2017 at 19:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .