Solved

Understanding SOAP and REST Basics And Differences

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

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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…
These instructions are based on installing Owncloud on your new raspberry pi connected with a usb HDD. What do you need Part A? A Raspberry Pi, model B. A boot SD card for the Raspberry Pi. A usb HDD An Ethernet cable to connect to the lo…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

759 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

20 Experts available now in Live!

Get 1:1 Help Now