Solved

Understanding SOAP and REST Basics And Differences

Posted on 2016-08-09
2
58 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 500 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

Automating Your MSP Business

The road to profitability.
Delivering superior services is key to ensuring customer satisfaction and the consequent long-term relationships that enable MSPs to lock in predictable, recurring revenue. What's the best way to deliver superior service? One word: automation.

Question has a verified solution.

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

New Relic recently released its Synthetics product that allows for the creation of performance monitors that periodically test a site's performance. If you wish to test an interactive workflow New Relic employs Selenium WebDriverJS to run those test…
In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

717 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