InterviewSolution
| 1. |
Can we classify SOAP as a RPC (Remote Procedure Call)? |
|
Answer» Yes, Soap is, in fact, an RPC (Remote PROCEDURE Call). Remote Procedure Call (RPC) is a PROTOCOL that allows one program to request a service from ANOTHER programme on a network without needing to know the network's specifics. Remote procedure calls in SOAP are essentially client-server interactions over HTTP with SOAP encoding rules for the request and response. From a high-level PERSPECTIVE, XML RPC and SOAP are extremely comparable protocols. Both use XML to encapsulate web service method requests and responses. XML RPC, on the other HAND, can be thought of as a subset of SOAP capabilities. In terms of protocol, XML RPC can only make requests over an HTTP(s) connection, whereas SOAP is usually used over HTTP(s) but can also be used over other protocols. |
|