WSDL is an XML format for describing web services as a set of endpoints that exchange messages. Operations and messages are described abstractly and bound to a concrete protocol and format. Related endpoints are grouped into services. The document defines elements like port types, bindings, and services that are used to describe a web service. It provides an example of a stock quote service defined using WSDL.