KB Article #178518

SSLHandshakeException exception while trying to import WSDL from URL

Problem

While attempting to import a WSDL into the mapping client getting the following error message

WSDLException: Unable to read document.
WSDLException: faultCode=OTHER_ERROR: Unable to read document at 'https://www.sample.com/api/sample_PlaceOrder.cfc?wsdl'.: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Unable to read document.: javax.net.ssl.SSLHandshakeException: Server chose TLSv1, but that protocol version is not enabled or not supported by the client.



Resolution


By default protocol version is set to TLSv1.2 in map designer that's why it fails since server expects TLSv1.

You can enable it in mappingservices.ini by modifying below lines

-Dhttps.protocols=TLSv1.2,TLSv1

-Djdk.tls.client.protocols=TLSv1.2,TLSv1