Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

SSL Connection Error: Mule to Salesforce

DZone's Guide to

SSL Connection Error: Mule to Salesforce

Learn to resolve the connectivity issues exception that occurs when connecting to Salesforce from Mule ESB with older versions of Java, Anypoint, and Mule.

· Integration Zone ·
Free Resource

How to Transform Your Business in the Digital Age: Learn how organizations are re-architecting their integration strategy with data-driven app integration for true digital transformation.

While connecting to Salesforce from Mule ESB using a combination of Java 8, Anypoint version 6, and Mule runtime 3.7, we are not going to face any issues, but using lower versions for any of these, it may complain about connectivity issues.

You may get the below exception:

Failed to parse detail: START_TAG seen ...</sf:exceptionMessage><sf:upgradeURL>... @1:752 due to: com.sforce.ws.ConnectionException: unable to find end tag at: START_TAG seen ...</sf:exceptionMessage><sf:upgradeURL>... @1:752 (com.sforce.ws.ConnectionException) com.sforce.ws.transport.SoapConnection:246 (null)

To resolve this issue, please make sure you have the below configurations done in your system.

Go to Control panel -> Java Control Panel->Check all tls settings.

Image title

Have the below argument in AnypointStudio.ini:

Image title

Also, pass it as an argument while running the application – Go to Run As -> Run Configuration, as seen here:

Image title

Make your mark on the industry’s leading annual report. Fill out the State of API Integration 2019 Survey and receive $25 to the Cloud Elements store.

Topics:
mule esb ,mulesoft ,salesforce ,integration

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}