WSDL Park, Hyunho 2005/07/28
Introduction Web services have been around for a long time in primitive form. Limitation of the primitive form: ▪ limited usefulness & scope ▪ difficult to program and to understand ▪ no consistency
Web Services Description Language (WSDL) Purpose: Establish a common format for describing and publishing Web service information sameBoth parties to a Web service interaction need copies of the same WSDL file WSDL elements: Describe data and operations on it
WSDL Structure
Definition The root element of WSDL document Usually define namespace
Namespace declarations
Data types The data types to be used in the messages
Message An abstract definition of the data
Operation & Port type Operation: The abstract definition of the operation for a message Four types of operations: One-way, Request/response, Solicit response, and Notification Port type: An Abstract set of operations mapped to one or more end points, defining the collection of operations for a binding
Cont’d Define the interface of Web service
Binding The concrete protocol and data formats for the operations and messages defined for particular port type SOAP/HTTP/MIME bindings
Port & Service Port: A combination of a binding and a network address Service: Grouping a collection of related ports
Conclusion WSDL provides a complex, full- function mechanism for defining interfaces to Web services!
References WSDL 1.1, frame_url=/ArticleRead.nhn%3Farti cleid=62 frame_url=/ArticleRead.nhn%3Farti cleid=62 Eric Newcomer, “Understanding Web Services”
Q & A