Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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

share|improve this question
3  
SOAP is a protocol used by Web Services to communicate the data. –  marco-fiset Nov 1 '12 at 15:54
add comment

1 Answer

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
1  
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
add comment

Your Answer

 
discard

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.