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.

· Integration Zone ·
Free Resource

WSO2 is the only open source vendor to be named a leader in The Forrester Wave™: API Management Solutions, Q4 2018 Report. Download the report now or try out our product for free.

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

IAM is now more than a security project. It’s an enabler for an integration agile enterprise. If you’re currently evaluating an identity solution or exploring IAM, join this webinar.

mule esb ,mulesoft ,salesforce ,integration

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}