Introducing
The Slant team built an AI & it’s awesome
Find the best product instantly
Add to Chrome
Add to Edge
Add to Firefox
Add to Opera
Add to Brave
Add to Safari
Try it now
4.7 star rating
0
Development
Web
What are the best web service protocols?
2
Options
Considered
4
User
Recs.
Jul 21, 2015
Last
Updated
Related Questions
Activity
Have feedback or ideas?
Join our community
on Discord
Ad
2
Options
Considered
Best web service protocols
Price
Last Updated
--
Hessian
-
Jul 21, 2015
--
SOAP
-
Jul 21, 2015
See Full List
--
Hessian
My Rec
ommendation
for
Hessian
My Recommendation for
Hessian
All
2
Pros
1
Cons
1
Top
Pro
•••
More efficient messages
Since information is exchanged through binary data instead of XML or JSON documents, it's much more efficient than it's counterparts and requires less bandwith.
See More
Top
Con
•••
Messages it sends are not readable by humans
Two nice pros of text-based exchange protocols are that the developers can read and data sent easily and they are easier to write implementations for. This is obviously lost when sending binary data directly.
See More
Hide
Get it
here
Recommend
2
--
SOAP
My Rec
ommendation
for
SOAP
My Recommendation for
SOAP
All
5
Pros
5
Top
Pro
•••
Advantages over REST
REST's benefits require strict adherance to constraints that are difficult to statically determine, which has resulted in many web services which intend to be RESTful, but fail, and as such fail to receive the benefits of REST. This can have some particularly negative effects: Content may be cached that should not be, leaving clients with stale data. Media types may be insufficiently specified, leaving clients coupled to the server and unable to discover new features. This is particularly common, as a content type of JSON or XML is generally of insufficient specificity to fully describe the media type and the relationships of links. Clients assuming a stateless server with idempotent GET/PUT/DELETE methods may make multiple requests to a server under these assumptions, causing adverse effects to the server state, or over-utilizing server resources. A service implemented over HTTP that fails to meet REST's requirements gains very little over SOAP, while losing many of its benefits.
See More
Top
Pro
•••
Simple architecture
SOAP's flexibility stems much from its simplicity. As an example, REST requires services to be organized around a Resource Oriented Architecture (ROA) in order to realize a set of benefits specific to HTTP. SOAP, on the other hand, does not heavily constrain the architecture of services built on it, as it is intended to work across a variety of protocols. This means that SOAP is an excellent solution for services that do not map well to ROA, such as those that require transaction semantics, those that would not likely make much use of HTTP specific features (e.g., cacheing and content-type negotiation) such as those that expose a computational resource (RPC), or for integrating multiple systems, which would benefit more from asynchronous messaging/callback semantics.
See More
Top
Pro
•••
Portability
While SOAP is commonly implemented over HTTP, SOAP messages do not rely on features of any particular protocol. This means that SOAP services can be tunnelled over a variety of transport protocols aside from HTTP, such as SMTP. Beyond this, SOAP is not restricted to client-server architectures, and so may be used to implement services such as push notifications when used outside of HTTP.
See More
Top
Pro
•••
Code generation
SOAP services use a standard format (XML), are generally well typed, and can be described thoroughly with WSDL (Web Services Definition Language). This means that boilerplate code for interacting with a service can often be automatically generated from its descriptions, dramatically reducing time needed to implement a service endpoint. Contrast this with REST, where media types my be highly variable, and interfaces highly generic, and so much focus is on understanding a service's architecture as a whole, and implementing support for a particular media type.
See More
Top
Pro
•••
Benefits of XML
Standardizing around XML, even as opposed to other popular formats such as JSON, brings serveral benefits to SOAP - primarily, it has widespread support, not only for parsing in different languages, but also for decoupled validation logic through DTDs and XML-schema, decoupled translation through XSLT, and querying through XPath. XML is also a hypermedia format, which brings with it implicit understanding of links. At a more general level, choosing a standard parent format decreases the likelyhood that highly divergant formats will need to be supported by any service provider or consumer in order to achieve interoperability.
See More
Hide
See All
Recommend
2
Don't see your favorite option? Add it.
Built By the Slant team
Find the best product instantly.
4.7 star rating
Add to Chrome
Add to Edge
Add to Firefox
Add to Opera
Add to Brave
Add to Safari
Try it now - it's free
One sec!
Are you sure that you want to abandon your hard work?
Delete Work
Continue working
{}
undefined
url next
price drop