Over a million developers have joined DZone.

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.

Free Resource

The Integration Zone is brought to you in partnership with Cloud Elements. What's below the surface of an API integration? Download The Definitive Guide to API Integrations to start building an API strategy.

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

Your API is not enough. Learn why (and how) leading SaaS providers are turning their products into platforms with API integration in the ebook, Build Platforms, Not Products from Cloud Elements.

mule esb ,mulesoft ,salesforce ,integration

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}