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.
Have the below argument in AnypointStudio.ini:
Also, pass it as an argument while running the application – Go to Run As -> Run Configuration, as seen here: