Hi Shivam,
whether the RFC or the HTTP/S protocol is used, is not a system-wide decision. The respective application implementation decides which communication protocol should be used. Both protocols have their advantages and disadvantages.
Please see the following thread with some discussion and a comparison of both models:
SAP jco or web services, which i should use ?
Best regards,
Stefan