- SOAP is a XML-based message protocol, while REST is an architectural style
- SOAP uses WSDL for communication between consumer and provider, whereas REST just uses XML or JSON to send and receive data
- SOAP invokes services by calling RPC method, REST just simply calls services via URL path
- SOAP doesn't return human readable result, whilst REST result is readable with is just plain XML or JSON
- SOAP is not just over HTTP, it also uses other protocols such as SMTP, FTP, etc, REST is over only HTTP
This is my set of probable drupal interview questions asked by interviewers
Friday, July 12, 2013
What is the difference between REST & SOAP?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment