Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Keep getting confused about these two. Anyone care to explain the difference(s)?

share|improve this question
SOAP is a protocol used by Web Services to communicate the data. – marco-fiset Nov 1 '12 at 15:54
all important differences between SOAP and REST:… – Jayesh Feb 25 at 18:20

Webservices are general term. They describe applications that return response to requests over web. These responses are usually something else than HTML.

SOAP is specific way to make a webservice. It usually consists of complex request and response objects, usually in form of XML files. Compare to REST, where requests and responses are usually simple, uses existing HTTP infrastructure and is generally using JSON files.

share|improve this answer
REST is also a pretty generic term. It's not a type of webservice or necessarily tied to the web at all. – ConditionRacer Nov 1 '12 at 20:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.