Compartir a través de


3.1.4.1 SyncFolderHierarchy

msdn link

The SyncFolderHierarchy operation gets synchronization information that enables folders to be synchronized between a client and a server.

The following is the WSDL port type specification of the SyncFolderHierarchy operation.

 <wsdl:operation name="SyncFolderHierarchy">
      <wsdl:input message="tns:SyncFolderHierarchySoapIn" />
      <wsdl:output message="tns:SyncFolderHierarchySoapOut" />
 </wsdl:operation>

The following is the WSDL binding specification of the SyncFolderHierarchy operation.

 <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>

The SyncFolderHierarchy operation MUST return one SyncFolderHierarchyResponseMessage element in the ResponseMessages element of the SyncFolderHierarchyResponse element (section 3.1.4.1.2.2). The SyncFolderHierarchyResponseMessage element is specified by the SyncFolderHierarchyResponseMessageType complex type (section 3.1.4.1.3.4). The ResponseMessages element is specified as an element of the BaseResponseMessageType complex type ([MS-OXWSCDATA] section 2.2.4.18).