Solved

Understanding SOAP and REST Basics And Differences

Posted on 2016-08-09
2
34 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
2 Comments
 
LVL 62

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 1

Author Closing Comment

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

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
My first SOAP client. I have constructed the XML message... how to send? 8 71
Calling ADOBE Sign SOAP API 3 52
WEB Service vs ??? 7 117
IIS Authorization for Web Service 2 46
When coding a Webservice to provide data, the normal way is to create a method that returns a Dataset object.   But a Dataset cannot be used easily from another platform, such as PHP,  FLAS (FLEX) , etc. Solution : Return a XML Document instea…
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…
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…

777 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