Question 1 Describe SOAP and REST Also include in your answe
Question:
1) Describe SOAP and REST. Also include in your answer the similarities and differences.
2) What is the relationship between a domain name (cs.princeton.edu) and an IP submet number (e.g., 192.12.69.0)?
Solution
SOAP is Simple Object Access Protocol.SOAP is a standards-based Web services access protocol that has been around for a while and enjoys all of the benefits of long-term use. Originally developed by Microsoft, SOAP really isn’t as simple as the acronym would suggest.SOAP is a W3C recommendation for communication between two applications.SOAP is XML based protocol. It is platform independent and language independent. By using SOAP, you will be able to interact with other programming language applications.
Representational State Transfer (REST)
Representational State Transfer (REST) is a style of architecture based on a set of principles that describe how networked resources are defined and addressed. These principles were first described in 2000 by Roy Fielding as part of his doctoral dissertation. REST is an alternative to SOAP and JavaScript Object Notation (JSON).
It is important to note that REST is a style of software architecture as opposed to a set of standards. As a result, such applications or architectures are sometimes referred to as RESTful or REST-style applications or architectures. REST has proved to be a popular choice for implementing Web Services. For example, the books suggested at the bottom of many of these article pages are dynamically generated, in part, using a REST architecture. It is one of the options for Amazon Web Services
====================================================
================================================================
A domain name is very similar to an address forwarding service. The domain name is the address people type in their web browser to get to your web site. The domain name then points to the \"real\" address that contains your web site. The \"real\" address is called the IP address and is a series of numbers, such as 123.23.234.45. This IP address then points to the location on the server that contains your web site files.
The reason we use domain names instead of IP addresses is because for most people a name, rather than a series of numbers, is much easier to remember. So, your domain name points to your IP address, which in turn points to your web site which allows users all across the Internet to view your web pages.
| SOAP | REST |
| SOAP is a protocol | REST is an architectural style. |
| SOAP stands for Simple Object Access Protocol | REST stands for Representational State Transfer |
| SOAP uses services interfaces to expose the business logic. | REST uses URI to expose business logic. |
| SOAP defines standards to be strictly followed. | REST does not define too much standards like SOAP. |
| SOAP requires more bandwidth and resource than REST. | REST requires less bandwidth and resource than SOAP. |
