Share via


Getting Started with EWS Proxy Programming in Exchange 2010

Last modified: October 20, 2009

Applies to: Exchange Server 2007 | Exchange Server 2010

The Microsoft Visual Studio 2005 IDE and Microsoft Visual Studio 2008 IDE provide tools that create proxy classes for client applications that consume Web services. Web services proxy classes act as an interface for client/Web server communications. The proxy classes provide user-friendly abstractions of the XML messages, XML serialization, and formation of the HTTP requests and responses that are sent between the client and server.

Important

Visual Studio 2005 and Visual Studio 2008 will not produce unmanaged C++ autogenerated proxies.

To get started with Exchange Web Services proxy programming, you must complete the following tasks:

  • Create a proxy reference by using Visual Studio 2005 or Visual Studio 2008.

  • Set up the ExchangeServiceBinding proxy class.

  • Validate X509 certificates for SSL over HTTP.

Proxy classes can be generated from many popular IDEs. The examples and reference documentation in this SDK describe proxy classes that are generated by the Visual Studio 2005 IDE. You can also use Visual Studio 2008 or the Express editions of Visual Studio 2005 or Visual Studio 2008 to create the proxy classes. Do not use Microsoft Visual Studio 2003 or earlier versions of Visual Studio to generate Exchange Web Services proxy classes.

Note

Visual Studio 2005 and Visual Studio 2008 also provide the wsdl.exe console application for creating proxy classes. Minor differences exist between the proxy classes that are created by using wsdl.exe and Visual Studio 2005 or Visual Studio 2008.