Solved

Understanding SOAP and REST Basics And Differences

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

For some reason Google Apps has decided to reserve 'www' for your new domain which results in an error when trying to map the web address 'www' to a certain site in your Google Sites. The error is 'this address is already being used' and after some …
The task of choosing a web design company to build a website for your business should never be taken in a light manner. Provided the fact that your website will act as a representative to your business and will be responsible for imposing an online …
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…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now