Freigeben über


About: Exchange service XSD and WSDL

Some developers use tools which work against XSD and WSDL.  Below is some information on the subject. Note that support is provided for proxy class generation only with Visual Studio – this means third party generators are not supported.

The XSD is updated per EWS version:

EWS schema versions in Exchange
https://msdn.microsoft.com/en-us/library/office/dn741586(v=exchg.150).aspx

It's best to pull it from your own server to use with your application – it's really easy to do this.  You can get the XSD several ways:

  • Use an HTTP GET against the XSD (you need to authenticate). In EWSEditor there is an EWS POST window under the Tools menu which will let you do an HTTP GET against the XSD.
  • Navigate to the XSD URL using Internet Explorer and enter credentials if prompted – IE will display the XSD.
  • Navigate to the Exchange EWS folder through Windows and copy the XSD file.

Items and folders:

EWS XML elements in Exchange

https://msdn.microsoft.com/en-us/library/office/aa580675(v=exchg.150).aspx

Location of WSDL:

https://<yourclientaccessserver>.com/ews/services.wsdl 

Location of message schema:

https://<yourclientaccessserver>.com/ews/messages.xsd

Location of Types schema:

https://<yourclientaccessserver>.com/ews/types.xsd

Autodiscover service XSD and WSDL:

Authenticated users can browse to the WSDL and schema files by using a URL.

WSDL locations:

  • https://<yourclientaccessserver>.com/autodiscover/services.wsdl
  • https://autodiscover.<yourclientaccessserver>.com/autodiscover/services.wsdl

Schema locations:

Example WSDL for Exchange Online:
https://outlook.office365.com/EWS/Services.wsdl

Reference:

SOAP Autodiscover XML elements for Exchange 2013
https://msdn.microsoft.com/en-us/library/office/dd899347(v=exchg.150).aspx

EWS operations in Exchange (Raw EWS POSTs).
https://msdn.microsoft.com/en-us/library/office/bb409286(v=exchg.150).aspx

EWS generated object models for Exchange (Proxy classes)
https://msdn.microsoft.com/en-us/library/office/jj190899(v=exchg.150).aspx

How to: Add a Reference to a Web Service
https://msdn.microsoft.com/en-us/library/bb628649.aspx

EWS client design overview for Exchange
https://msdn.microsoft.com/en-us/library/office/jj190904(v=exchg.150).aspx

Start using web services in Exchange
https://msdn.microsoft.com/en-us/library/office/jj900168(v=exchg.150).aspx