?
Solved

Understanding SOAP and REST Basics And Differences

Posted on 2016-08-09
2
Medium Priority
?
62 Views
Last Modified: 2016-08-11
Hi Experts,

Soap and Rest Webservice which one will give better performance and why?
When to go for soap and when to use rest webservice?
which one will give better security soap or rest?
what kind of protocal are used for soap and rest?

Thanks
0
Comment
Question by:srikotesh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 64

Accepted Solution

by:
btan earned 2000 total points
ID: 41749935
Just share some thoughts

REST is the typical HTTP method based transaction as compared to SOAP that is web service (XML based) API method driven. Different approach via web communication.

REST does not talk about any security. It totally relies on the underlying transport for security - let it be HTTPS via TLS/SSL mostly. In SOAP - it clearly defines a security standard which does not depend on the transport. WS-Security is designed for SOAP.

WS-Security offers more protection than HTTPS would, and SOAP offers a richer API than REST. WS-Security offers confidentiality and integrity protection from the creation of the message to it's consumption.

So REST via HTTPS ensure securr chnanel to the right server while SOAP via WS-Security ensures the content of the transaction is to the right server and able to be "open" up by the right application running on that server.

In term of performance, TLD/SSL is very much comparable but often much faster than WS-Security due to the latter's "additional" for identity and relying party  check.
0
 
LVL 2

Author Closing Comment

by:srikotesh
ID: 41752775
I got the clarity now.☺
0

Featured Post

When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot has fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
Online collaboration is quickly becoming embedded in the workplace, and its benefits are tangible. See what the current landscape looks like and what the future holds for collaboration tools and the future of work.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question