6 Appendix A: Full WSDL

msdn link

The following table lists the XML files that are required to implement the functionality that is specified in this document. The contents of each file are included in this section.

File name

Description

Section

MS-OXWSSYNC.wsdl

Contains the WSDL for the implementation of this protocol.

6

MS-OXWSSYNC-messages.xsd

Contains the XML schema message definitions that are used in this protocol.

7.1

MS-OXWSSYNC-types.xsd

Contains the XML schema type definitions that are used in this protocol.

7.2

These files have to be placed in a common folder in order for the WSDL to validate and operate. Also, any schema files that are included in or imported into the MS-OXWSSYNC-types.xsd or MS-OXWSSYNC-messages.xsd schema have to be placed in the common folder along with the files.

This section contains the contents of the MS-OXWSSYNC.wsdl file.

 <?xml version="1.0" encoding="utf-8"?>
 <wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" targetNamespace="http://schemas.microsoft.com/exchange/services/2006/messages">
      <wsdl:types>
           <xs:schema id="messages" elementFormDefault="qualified" version="Exchange2016" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:tns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
                <xs:include schemaLocation="MS-OXWSSYNC-messages.xsd"/>
                <xs:include schemaLocation="MS-OXWSCDATA-messages.xsd"/>
          </xs:schema>
           <xs:schema id="types" elementFormDefault="qualified" version="Exchange2016" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" targetNamespace="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:tns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xs="http://www.w3.org/2001/XMLSchema">
                <xs:import namespace="http://www.w3.org/XML/1998/namespace"/>
                <!-- Add global elements and types from types.xsd -->
           </xs:schema>
      </wsdl:types>
      <wsdl:message name="SyncFolderHierarchySoapIn">
         <wsdl:part name="request" element="tns:SyncFolderHierarchy" />
         <wsdl:part name="Impersonation" element="t:ExchangeImpersonation"/>
         <wsdl:part name="MailboxCulture" element="t:MailboxCulture"/>
         <wsdl:part name="RequestVersion" element="t:RequestServerVersion"/>
      </wsdl:message>
      <wsdl:message name="SyncFolderHierarchySoapOut">
         <wsdl:part name="SyncFolderHierarchyResult" element="tns:SyncFolderHierarchyResponse" />
         <wsdl:part name="ServerVersion" element="t:ServerVersionInfo"/>
      </wsdl:message>
      <wsdl:message name="SyncFolderItemsSoapIn">
         <wsdl:part name="request" element="tns:SyncFolderItems" />
         <wsdl:part name="Impersonation" element="t:ExchangeImpersonation"/>
         <wsdl:part name="MailboxCulture" element="t:MailboxCulture"/>
         <wsdl:part name="RequestVersion" element="t:RequestServerVersion"/>
      </wsdl:message>
      <wsdl:message name="SyncFolderItemsSoapOut">
         <wsdl:part name="SyncFolderItemsResult" element="tns:SyncFolderItemsResponse" />
         <wsdl:part name="ServerVersion" element="t:ServerVersionInfo"/>
      </wsdl:message>
      <wsdl:portType name="ExchangeServicePortType">
         <wsdl:operation name="SyncFolderHierarchy">
             <wsdl:input message="tns:SyncFolderHierarchySoapIn" />
             <wsdl:output message="tns:SyncFolderHierarchySoapOut" />
         </wsdl:operation>
         <wsdl:operation name="SyncFolderItems">
             <wsdl:input message="tns:SyncFolderItemsSoapIn" />
             <wsdl:output message="tns:SyncFolderItemsSoapOut" />
         </wsdl:operation>
      </wsdl:portType>
      <wsdl:binding name="ExchangeServiceBinding" type="tns:ExchangeServicePortType">
           <wsdl:documentation>
                <wsi:Claim conformsTo="http://ws-i.org/profiles/basic/1.0" xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/"/>
           </wsdl:documentation>
           <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
         <wsdl:operation name="SyncFolderHierarchy">
             <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/SyncFolderHierarchy" />
             <wsdl:input>
                 <soap:header message="tns:SyncFolderHierarchySoapIn" part="Impersonation" use="literal"></soap:header>
                 <soap:header message="tns:SyncFolderHierarchySoapIn" part="MailboxCulture" use="literal"/>
                 <soap:header message="tns:SyncFolderHierarchySoapIn" part="RequestVersion" use="literal"/>
                 <soap:body parts="request" use="literal" />
             </wsdl:input>
             <wsdl:output>
                 <soap:body parts="SyncFolderHierarchyResult" use="literal" />
                 <soap:header message="tns:SyncFolderHierarchySoapOut" part="ServerVersion" use="literal"/>
             </wsdl:output>
         </wsdl:operation>
         <wsdl:operation name="SyncFolderItems">
             <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/SyncFolderItems" />
             <wsdl:input>
                 <soap:header message="tns:SyncFolderItemsSoapIn" part="Impersonation" use="literal"></soap:header>
                 <soap:header message="tns:SyncFolderItemsSoapIn" part="MailboxCulture" use="literal"/>
                 <soap:header message="tns:SyncFolderItemsSoapIn" part="RequestVersion" use="literal"/>
                 <soap:body parts="request" use="literal" />
             </wsdl:input>
             <wsdl:output>
                 <soap:body parts="SyncFolderItemsResult" use="literal" />
                 <soap:header message="tns:SyncFolderItemsSoapOut" part="ServerVersion" use="literal"/>
             </wsdl:output>
         </wsdl:operation>
      </wsdl:binding>
     
 </wsdl:definitions>