Exchange Web Services in Exchange 2007 implements the following specifications:
-
HTTP
-
XML
-
Simple Object Access Protocol (SOAP)
-
Web Services Description Language (WSDL)
Use of the HTTP protocol to transport messages provides Exchange 2007 clients access to Exchange database data over the network, regardless of whether the client is on the Internet or intranet. The use of HTTP eliminates some of the boundary limitations introduced by legacy APIs such as ExOLEDB and CDOEX - definitely a positive step!
XML provides the standard message format for the exchange of information between the Exchange server and the client. XML provides complex Exchange Server database data to client applications, but in a defined structure. The beauty of XML is that it allows for the exchange of data even when the client and server do not share a common platform.
Like Exchange Web Services, WebDAV uses XML and HTTP for the exchange of data between Exchange server and client. Unlike Exchange Web Services, however, WebDAV does not implement the SOAP protocol. The SOAP protocol forms an envelope around the messaging payload. Exchange Web Services implements the SOAP protocol by using different parts of the SOAP envelope to enable different functionality. The SOAP header is used for impersonation and to provide versioning data. The SOAP body provides information about the operation to run and the data that is submitted to the operation. SOAP relies on WSDL to describe the operations to call.
The Exchange Web Services WSDL file, services.wsdl, describes the bindings, the operations, and the properties that are used to call the many operations for Exchange Web Services. This file, along with the referenced schema files, comprises the contract between the client and the Exchange server, and is often used along with vendor-specific tools to create platform-specific applications. The WSDL file is located in the EWS virtual directory, which is at the root of the Web site.