Traditional Culture Encyclopedia - Weather forecast - What is a network service?

What is a network service?

WebService is a kind of SOA (service-oriented programming) architecture, which is independent of language and platform, and can realize the mutual call between different languages and the interaction between network applications based on Http protocol through the Internet.

WebService calls between different languages are based on a standard, and Web services need to comply with the WSDL (Web Service Definition Language)/SOAP (Simple Request Protocol) specification.

Web service = WSDL+SOAP+UDDI (registering Web service)

Soap consists of a part of Soap and 0 or more attachments, generally only a part, including an envelope and a body.

Web service is an SOA architecture, which can integrate different programs by providing standard protocols and interfaces.

Advantages of Web services

(1) Allow heterogeneous programs to access each other (cross-platform) (2) Loose coupling.

(3) Based on standard protocol (common language, allowing other programs to access)

Basic principles of Web services

(1) Service providers use WSDL to describe services.

(2) Service providers publish service description files to UDDI servers through UDDI.

(3) The service requester queries the UDDI server and obtains the WSDL file.

(4) The service requester binds the request to SOAP and accesses the corresponding service.