Forum Discussion
I just attempted a web service call running the groovy script above (with the added WS call), and there is definitely a disconnect regarding the socket factory. When I declare a new apache SSLSocketFactory, it is compatible with Scheme but does not work. However, when I call one of our web services through another library of mine using the ctx.socketFactory (the SSLContext I created in the previous script), I get prompted for the cert and the service is called just fine, all from groovy. Unfortunately, Sun's SSLSocketFactory is not compatible with Apache's Scheme constructor. I am going to have to figure out how to create the SSLContext with an Apache SSLSocketFactory in my custom library.
Interesting...
It just occured to me, I may need to replace the HttpClient...
- derikgw9 years agoOccasional Contributor
I am lost on this. I have been looking through the JavaDocs and I see nothing that will allow me to inject a custom SSLContext, or SSLSocketConnectionFactory, or even an HttpClient.
- derikgw9 years agoOccasional Contributor
Someone marked this as solved. Not sure why. It is far from solved!
- derikgw9 years agoOccasional Contributor
I received a reply from one of the engineers at SmartBear. If you google "SoapUI SSL Workaround" you will get this plugin project: https://github.com/joeljons/soapui-ssl-workaround-plugin
I am going to try this idea today.
Related Content
- 5 years agoReshail