I have a working piece of code from which I am successfully able to send the SOAP request to HTTP url. But the same code does not work when I try sending the request to HTTPS url.
Please guide me to the solution for this.
1) The above code work perfectly when I post to the HTTP url.
2) The code does not work when when I post to the HTTPS url. I get the following below exception !
3) In HTTPS, there is no 1-way or 2-way SSL required. Please do not answer regarding how to create the truststore and keystore. This is not required in my case.
Please help me out in this and let me know what have I missed here.