What is WSDL ?)

Source: Internet
Author: User
Tags abstract definition
The Web Service Description Language (WSDL) Web Server Description Language is the standard for describing Web services using XML documents. It is the interface definition language of Web Services, proposed jointly by Arba, Intel, IBM, Ms, etc. Through WSDL, three basic attributes of web services can be described:

· What services do-operations provided by services (methods)

· How to access services-data formats and necessary protocols for interaction with services

· Where the service is located-Protocol-related addresses, such as URLs

The WSDL document describes the Web service in the form of a port set. The WSDL service description includes an abstract definition of a group of operations and messages, and is bound to a specific protocol for these operations and messages, A network endpoint specification bound to this instance. The WSDL document is divided into two types: Service Interface and Service implementation. The basic structure of the document is as follows:

 

The main elements in the service interface document are as follows:

Types: defines all data types used by the Web Service and can be referenced by Message Components of the element. It uses a type system (generally the type system in XML Schema ).

Message: an abstract and typed definition of the communication message data structure. Use the type defined by types to define the data structure of the entire message.

Operation: an abstract description of the operations supported in the service. A single operation describes the request/Response Message pairs of an access entry.

Porttype: an abstract set of operations supported by an access entry point type. These operations can be supported by one or more service access points.

Binding: Contains how to transform the abstract interface element (porttype) into the details of specific representation. The specific representation refers to the combination of specific data formats and protocols; binding of specific protocols and data format specifications for specific port types.

Port: a single service access point that combines protocol/Data Format binding with a specific web access address.

Service: This is a rough named element that represents a set of ports and a set of related service access points.

It can be seen that porttype (combined with the details of the message and type elements) describes what the web service is and the binding element describes how to use the web service, the port and service elements describe the location of the web service.

For more information about WSDL, see: http://www.w3.org/TR/

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.