

Yahoo uses REST for all their services including Flickr and. REST reads can be cached, SOAP based reads cannot be cached. REST has better performance and scalability. REST allows better support for browser clients due to it’s support for JSON. JSON usually is a better fit for data and parses much faster. While this may seem like it adds complexity to REST because you need to handle multiple formats, in my experience it has actually been quite beneficial. REST permits many different data formats where as SOAP only permits XML. Creating clients, developing APIs, the documentation is much easier to understand and there aren’t very many things that REST doesn’t do easier/better than SOAP. Since REST uses standard HTTP it is much simpler in just about ever way.
#Soap vs rest security tibco how to
There are different ways to create web services in Tibco either via SOAP web services or REST(Representational State Transfer) web services. SOAP web services creation steps are explained in different article( How to create/generate Web Services in Tibco bw) Why REST Service? Like this we have separate specifications for messaging, transactions, etc. It is a detailed standard providing rules for security in application implementation. WS-Security is the specification for security in the implementation. SOAP has a set of standard specifications.

REST uses (generally) URI and methods like (GET, PUT, POST, DELETE) to expose resources. SOAP uses interfaces and named operations to expose business logic.But REST gives the concept and less restrictive about the implementation.Therefore REST based implementation is simple compared to SOAP and consumer understanding. SOAP is strongly typed, has strict specification for every part of implementation.SOAP has specifications for stateful implementation as well. SOAP permits XML data format only. REST permits different data format such as Plain text, HTML, XML, JSON etc.But SOAP doesn’t has any such requirements. REST messages should be self-contained and should help consumer in controlling the interaction between provider and consumer(example, links in message to decide the next course of action).SOAP has a standard specification but there is none for REST.SOAP defines its own security. RESTful web services inherits security measures from the underlying transport.SOAP uses services interfaces to expose the business logic. REST uses URI to expose business logic.SOAP is a XML based messaging protocol and REST is not a protocol but an architectural style.REST stands for Representational State Transfer. SOAP stands for Simple Object Access Protocol.Here explains some of the basic difference between SOAP and REST services,
