World Library  
Flag as Inappropriate
Email this Article

Web Services Description Language

Article Id: WHEBN0023713739
Reproduction Date:

Title: Web Services Description Language  
Author: World Heritage Encyclopedia
Language: English
Subject: List of web service frameworks, Web service, OWL-S, WS-I Basic Profile, Amit Sheth
Collection: Web Service Specifications, Web Services, World Wide Web Consortium Standards, Xml-Based Standards
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Web Services Description Language

Web Services Description Language
Filename extension .wsdl
Internet media type application/wsdl+xml
Developed by World Wide Web Consortium
Contained by XML
Standard 2.0 Recommendation

The Web Services Description Language (WSDL pronounced "wiz'-dul") is an XML-based interface definition language that is used for describing the functionality offered by a web service. The acronym is also used for any specific WSDL description of a web service (also referred to as a WSDL file), which provides a machine-readable description of how the service can be called, what parameters it expects, and what data structures it returns. It thus serves a purpose that corresponds roughly to that of a method signature in a programming language.

The current version of WSDL is WSDL 2.0. The meaning of the acronym has changed from version 1.1 where the D stood for Definition.

Contents

  • Description 1
  • Example WSDL file 2
  • History 3
  • See also 4
  • References 5
  • External links 6

Description

Representation of concepts defined by WSDL 1.1 and WSDL 2.0 documents.

The WSDL describes services as collections of network endpoints, or ports. The WSDL specification provides an XML format for documents for this purpose. The abstract definitions of ports and messages are separated from their concrete use or instance, allowing the reuse of these definitions. A port is defined by associating a network address with a reusable binding, and a collection of ports defines a service. Messages are abstract descriptions of the data being exchanged, and port types are abstract collections of supported operations. The concrete protocol and data format specifications for a particular port type constitutes a reusable binding, where the operations and messages are then bound to a concrete network protocol and message format. In this way, WSDL describes the public interface to the Web service.

WSDL is often used in combination with SOAP and an XML Schema to provide Web services over the Internet. A client program connecting to a Web service can read the WSDL file to determine what operations are available on the server. Any special datatypes used are embedded in the WSDL file in the form of XML Schema. The client can then use SOAP to actually call one of the operations listed in the WSDL file using for example XML over HTTP.

The current version of the specification is 2.0; version 1.1 has not been endorsed by the W3C but version 2.0 is a W3C recommendation.[1] WSDL 1.2 was renamed WSDL 2.0 because of its substantial differences from WSDL 1.1. By accepting binding to all the HTTP request methods (not only GET and POST as in version 1.1), the WSDL 2.0 specification offers better support for RESTful web services, and is much simpler to implement.[2][3] However support for this specification is still poor in software development kits for Web Services which often offer tools only for WSDL 1.1. Furthermore, the latest version (version 2.0) of the Business Process Execution Language (BPEL) only supports WSDL 1.1.


WSDL 1.1 Term WSDL 2.0 Term Description
Service Service Contains a set of system functions that have been exposed to the Web-based protocols.
Port Endpoint Defines the address or connection point to a Web service. It is typically represented by a simple HTTP URL string.
Binding Binding Specifies the interface and defines the SOAP binding style (RPC/Document) and transport (SOAP Protocol). The binding section also defines the operations.
PortType Interface Defines a Web service, the operations that can be performed, and the messages that are used to perform the operation.
Operation Operation Defines the SOAP actions and the way the message is encoded, for example, "literal." An operation is like a method or function call in a traditional programming language.
Message n/a Typically, a message corresponds to an operation. The message contains the information needed to perform the operation. Each message is made up of one or more logical parts. Each part is associated with a message-typing attribute. The message name attribute provides a unique name among all messages. The part name attribute provides a unique name among all the parts of the enclosing message. Parts are a description of the logical content of a message. In RPC binding, a binding may reference the name of a part in order to specify binding-specific information about the part. A part may represent a parameter in the message; the bindings define the actual meaning of the part. Messages were removed in WSDL 2.0, in which XML schema types for defining bodies of inputs, outputs and faults are referred to simply and directly.
Types Types Describes the data. The XML Schema language (also known as XSD) is used (inline or referenced) for this purpose.

Example WSDL file





   
      
                 
          ... 
          ... 
      
   


   
      
      
         
         
      
   


   
      
   
   

   
      
   


   
      
      
   

History

WSDL 1.0 (Sept. 2000) was developed by IBM, Microsoft, and Ariba to describe Web Services for their SOAP toolkit. It was built by combining two service description languages: NASSL (Network Application Service Specification Language) from IBM and SDL (Service Description Language) from Microsoft.

WSDL 1.1, published in March 2001, is the formalization of WSDL 1.0. No major changes were introduced between 1.0 and 1.1.

WSDL 1.2 (June 2003) was a working draft at W3C, but has become WSDL 2.0. According to W3C: WSDL 1.2 is easier and more flexible for developers than the previous version. WSDL 1.2 attempts to remove non-interoperable features and also defines the HTTP 1.1 binding better. WSDL 1.2 was not supported by most SOAP servers/vendors.

WSDL 2.0 became a W3C recommendation on June 2007. WSDL 1.2 was renamed to WSDL 2.0 because it has substantial differences from WSDL 1.1. The changes are the following:

  • Added further semantics to the description language
  • Removed message constructs
  • Operator overloading not supported
  • PortTypes renamed to interfaces
  • Ports renamed to endpoints

See also

References

  1. ^ "Web Services Definition Language (WSDL) Version 2.0 Part 1: Core Language". Retrieved 2007-06-27. 
  2. ^ "Web Services Definition Language (WSDL) Version 2.0 Part 2: Adjuncts". 
  3. ^ "WITW WSDL 2.0 HTTP Binding". 

External links

  • WSDL 1.0 Specification
  • WSDL 1.1 Specification
  • WSDL 2.0 Specification Part 0: Primer (Latest Version)
  • WSDL 2.0 Specification Part 1: Core (Latest Version)
  • WSDL 2.0 Specification Part 2: Adjuncts (Latest Version)
  • Web Services Description Working Group
  • XML protocol activity
  • JSR-110: Java APIs for WSDL
  • JSR 172: Java ME Web Services Specification
  • Online WSDL Validator
  • Online WSDL browser and test client
  • W3Schools WSDL 1.1 tutorial
  • WSDL programmatic visualization with Linguine Maps
  • SSDL - The SOAP Service Description Language
  • WSDL Java Bindings for XMLBeans and JAXB.
  • W3C Working Draft
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.