150 likes | 322 Views
WSDL. 20031041 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).
E N D
WSDL 20031041 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 • Both parties to a Web service interaction need copies of the same WSDL file • WSDL elements: Describe data and operations on it
Definition • The root element of WSDL document • Usually define namespace
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 <Ex - Request/response operation>
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, http://cafe.naver.com/action2.cafe?iframe_url=/ArticleRead.nhn%3Farticleid=62 • Eric Newcomer, “Understanding Web Services”