Delphi THTTPRIO + SSL Certificate

Hi,

I’ve build a SOAP client that accesses a couple of Web Services on a server. The server is now using SSL so I need to modify my client to comply with this feature. Any ideas how to do that?

I’ve seen a couple of posts out there that talk about tapping into the THTTPRIO creation and assigning an event handler for the OnBeforePost event, but I haven’t found any solid implementation yet.

Regards
Dimitrios

ROSDK doesn’t support THTTPRIO, but you can import wsdl service with ServiceBuilder, generate Intf and later use it for accessing to wsdl services via SOAP message

Thanks for the quick reply. So, then I can use the ROSDK from the client to send the SOAP message to the SSL server, any examples on how to do that?

you can use our Indy channel and Indy’s TIdSSLIOHandlerSocketOpenSSL component
it will be something like

ROIndyHTTPChannel1.IndyClient.IOHandler := IdSSLIOHandlerSocketOpenSSL1;

ofc, it can be done via Object Inspector

nice one, thanks a lot.