Simple descriptions of rest. Soap and XML-RPC

Source: Internet
Author: User
Tags representational state transfer
Simple descriptions of rest, soap and XML-RPC!

Currently in three mainstream web service implementation solutions, because the rest mode of Web Services and complex soap and XML-RPC compared to more concise, more and more web services begin to adopt rest design and implementation.XML-RPC is slowly replaced by the soap development method, and it is copyrighted!

Rest:Characterization status transfer(English:Representational State Transfer, AbbreviationRestThe standard HTTP method (get/Put/post/delete) is used by web services to abstract the service capabilities of all web systems. It is a software architecture style.

It is a network applicationDevelopment MethodTo reduce development complexity and improve system scalability.

Rest observes the entire network from the resource point of view. The resources distributed everywhere are determined by the URI, and the client application obtains the resource representation through the URI.


Soap: Simple Object Access Protocol(Simple Object Access Protocol) is a standardized communication specification, mainly used in Web Services. A simple example is used to describe how to use soap. a soap message can be sent to a web site with the Web service function, for example, a database containing house price information, the message parameter indicates that this is a query message. The site returns an XML message containing the query result (price, location, feature, or other information ). Because data is transmitted in a standardized and analytic structure, it can be directly used by third-party sites.

XML-RPCIt is a distributed computing protocol for Remote Procedure Call (RPC). It encapsulates call functions using XML and uses HTTP as the transmission mechanism. Later, with the continuous introduction of new functions, this standard gradually evolved into today's SOAP protocol.

XML-RPC agreements are registered patent items. The XML-RPC sends an HTTP request to the server that has this Protocol installed. The client that sends the request is generally the software that requires a call from the remote system.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.