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

SnapLogic is the leading self-service enterprise-grade integration platform. Download the 2018 GartnerMagic Quadrant for Enterprise iPaaS or play around on the platform, risk free, for 30 days.

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

With SnapLogic’s integration platform you can save millions of dollars, increase integrator productivity by 5X, and reduce integration time to value by 90%. Sign up for our risk-free 30-day trial!

Topics:
mule esb ,mulesoft ,salesforce ,integration

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}