Rest vs SOAP - MacKittipat/note-developer GitHub Wiki

REST

  • Expose RESOURCES which represent DATA
  • Use HTTP Protocol
  • Use HTTP Verbs
  • Support multiple data format. JSON, XML, ...
  • Stateless only

SOAP

  • Expose OPERATIONS which represent LOGIC
  • Use HTTP, JMS, SMTP Protocol
  • Support XML only
  • Stateless and Stateful

Reference