sanjanyrjain
8 years agoFrequent Visitor
Java: how to set the protocol tls1.2 settings in soaui jar
I'm trying to set the https.protocol to TLS1.2 for SOAPUI jar, But it is failing with the error saying handshake is missing.
How can we explicitly set the protocol in such cases.
WsdlProject project = new WsdlProject();
WsdlInterface iface = WsdlInterfaceFactory.importWsdl(project, wsdlURL, true)[0];
WsdlOperation operation = iface.getOperationByName(actionName);
WsdlRequest request = operation.addNewRequest(xmlRequestString);
request.setRequestContent(xmlRequestString);