Simple Object Access Protocol (SOAP) is a lightweight Protocol used to exchange information in distributed computing environments. SOAP facilitates access to objects, services, and servers in a platform-independent manner. It provides the extensions required by HTTP with the help of XML. The SOAP protocol specification consists of four main parts. Www.2cto.com Part 1: SOAP encapsulation (Envelop) defines a framework that describes the content of a message, who sends the message, who should accept and process it, and how to process it. Part 2: The SOAP Encoding Rules (Encoding Rules) define optional data Encoding Rules to indicate the data types and direct charts defined by the application, as well as a unified standard for serializing non-syntax data models. Part 3: RPC Representation defines a remote call style (Request/Response) Information exchange mode. Part 4: SOAP Binding defines the Binding between SOAP and HTTP and the exchange using the underlying protocol.
The SOAP protocol can be simply understood as: SOAP = RPC + HTTP + XML, that is, HTTP is used as the communication protocol, RPC is used as the consistent call Channel, and XML is used as the data transmission format, this allows service providers and service customers to communicate over the Internet through firewalls.