Home >Common Problem >What is WSDL

What is WSDL

藏色散人
藏色散人Original
2019-12-03 14:27:354250browse

WSDL (Web Services Description Language, Web Services Description Language) is an XML format published for describing Web services. The W3C organization (World Wide Web Consortium) has not approved version 1.1 of WSDL. The current WSDL version is 2.0, which is a recommendation (an official standard) of W3C and will be approved as a formal standard by the W3C organization.

Introduction

WSDL (Web Services Description Language, Web Services Description Language) is an XML format published for describing Web services. The W3C organization (World Wide Web Consortium) has not approved version 1.1 of WSDL. The current WSDL version is 2.0, which is a recommendation (an official standard) of W3C and will be approved as a formal standard by the W3C organization.

In many technical documents, the Web Service Description Language is usually abbreviated as WSDL, and the pronunciation is usually: "wiz-dəl".

WSDL describes the public interface of the Web service. This is an XML-based service description of how to communicate with and use Web services; that is, it describes the protocols and information formats that need to be bound when interacting with Web services listed in the directory. Abstract language is usually used to describe the operations and information supported by the service, and when used, the actual network protocol and information format are bound to the service.

Composition

The WSDL document can be divided into two parts. The top part consists of abstract definitions, while the bottom part consists of concrete descriptions.

History

In March 2001, WSDL 1.1 was submitted to the W3C XML activity on the XML protocol as a W3C note by IBM and Microsoft, using To describe network services. (W3C Records are for discussion purposes only. The publication of a W3C Record does not imply endorsement by the W3C or the W3C Team, or by any W3C member.) In July 2002, the W3C released the first working draft of WSDL 1.2.

Element

The WSDL element describes the basic elements for interacting with the service based on XML syntax:

● Type (message type): data type definition A container that uses some type system (like XSD).

● Message: An abstract typed definition of communication data, which consists of one or more parts.

● Part: Message parameters

● Operation: Abstract description of the operations supported by the service. WSDL defines four operations:

1. One-way (one-way): The endpoint accepts information;

2. Request-response (request-response): The endpoint accepts information and then sends related messages;

3. Request-response (solicit- response): The endpoint sends a message and then receives related messages;

4. Notification: The endpoint sends a message.

● Port Type: Specific protocol and data format specifications for a specific port type.

● Binding: Specific protocol and data format specifications for a specific port type.

● Port: A single endpoint defined as a combination of binding and network address.

● Service: A collection of related ports, including its associated interfaces, operations, messages, etc.

The above is the detailed content of What is WSDL. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn