I have an application which uses different APIs. Some of them are REST APIs, another are SOAP web services. Some of them require SSL. The thing is that I have several requests for different APIs simultaneously, and I need to skip SSL validation for some of them. With RESTful - it's relatively easy (see: Best practices for using ServerCertificateValidationCallback) but how to do anything similar with SOAP? Does anybody have such experience?
Thanks!
There is an option to do something like
ServicePointManager.ServerCertificateValidationCallback => true;
But it'll affect the whole app.
I can override the verification based on the requested URI. But I want to find out if there is a way how I can overwrite the validation logic for some specific SOAP service, not for all of them?