I need to connect a webservice which only accept a connection established via TLS 1.2. I added the line -Dsoapui.https.protocols=TLSv1.2 in the file SoapUI-5.0.0.vmoptions and it's not working. ...
I have SoapUI 5.3.0 and adding the line below to the vmoptions file worked for me! I can now communicate with a SOAP service running on a server that only has TLS 1.2 enabled.
I can definitively say your suggestion resolved the issue for me (SoapUI 5.3.0, Windows 7 Enterprise x64 SP1). This is after more time wasted than I care to admit on numerous suggestions provided on various websites over the years.
Description of problem
Attempting to "Update Definition" by adding the WSDL via the hosted web service always resulted in a failure:
though I coulddownloadthe WSDL and add manually, no problem. Once the WSDL was added, however, attempting to call any method resulted in an exception:
Adding
-Dsoapui.https.protocols=TLSv1.2
to "%PROGRAMFILES%\SmartBear\SoapUI-5.3.0\bin\SoapUI-5.3.0.vmoptions" resolved the issue completely -- I'm able to add/update the WSDL and invoke methods successfully.