WebService uses protocol HTTP, what does it mean

Source: Internet
Author: User
Tags soap

WebService protocol
The Web service is using the SOAP (simple Object Access Protocol) protocol
The SOAP protocol is used only to encapsulate messages. Post-packaged messages you can transfer through a variety of existing protocols, such as HTTP,TCP/IP,SMTP, and so on, you even use a custom protocol once, and of course you can use the HTTPS protocol.
Soap is built on HTTP, and it's plain to use HTTP to send XML.

In addition to WebService, common remote invocation techniques include RMI (remote method Invoke) and CORBA, which are more widely used than the other two technologies due to the WebService cross-platform and cross-programming language features, but with slightly lower performance.

WebService using the SOAP protocol for cross-programming languages and cross-operating system platforms

WebService transmits data using the HTTP protocol, encapsulating the data in XML format (that is, what method of invoking the remote service object in XML, what parameters are passed, and what the service object returns). WebService sends requests and receives results through the HTTP protocol, both the requested content and the resulting content are encapsulated in XML format, and some specific HTTP message headers are added to describe the content format of the HTTP message. These specific HTTP message headers and XML content formats are the SOAP protocol (Simple Object Access Protocol, and the trivial objects accessing protocol).

SOAP protocol = HTTP protocol + XML data format

The SOAP protocol is based on the HTTP protocol, and the relationship between the two is similar to the highway is based on the ordinary highway transformation, on a highway added to the fence is a highway.

As long as the clerk receives the money, the store waiter provides the goods to the customer, the store attendant does not care about the nature of the customer, and the customer does not care about the nature of the store attendant. Similarly, the WebService client can use the HTTP protocol to send XML request data that follows a certain format to the WebService server, and the WebService server returns the XML result data that follows some format via the HTTP protocol. WebService client and server do not care about what programming language is used by the other side.

? HTTP protocol and XML are widely used general technology, the various programming languages to the HTTP protocol and XML both provide very good support, WebService client and server-side use of what programming language can complete the function of soap, so, WebService is easy to implement across programming languages, and cross programming languages naturally cross the operating system platform

WebService uses protocol HTTP, what does it mean

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.