Are both REST and SOAP an implementation of SOA?

Joeblackdev picture Joeblackdev · Mar 11, 2011 · Viewed 10.3k times · Source

I have a question around SOA.

Are SOAP and REST both considered approaches for implementing a service-oriented architecture?

I know that REST is a style, thus this leads me to this question.

Answer

CoderSteve picture CoderSteve · Mar 11, 2011

Yes, they both can be considered approaches for implementing a SOA. I suppose you could say REST is a style, but then you'd have to say SOAP is one too. I would simply consider them different techniques to accomplish the same end. SOAP mimics a Remote Procedure Call and REST is inline with how the web (http) was designed.