7 Appendix B: Full XML Schema

This section contains the contents of the MS-OXWSARCH-messages.xsd file and information about additional files that this schema file requires to operate correctly.

MS-OXWSARCH-messages.xsd includes the files listed in the following table. For the schema file to operate correctly, these files have to be present in the folder that contains the WSDL and messages schema file for this protocol.

File name

Defining specification

MS-OXWSCDATA-messages.xsd

[MS-OXWSCDATA] section 7.1

MS-OXWSFOLD-types.xsd

[MS-OXWSFOLD] section 7.2

For ease of implementation, the following is the full XML schema for this protocol.

 <?xml version="1.0" encoding="UTF-8"?>
 <xs:schema xmlns:tns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/exchange/services/2006/messages" version="Exchange2016" id="messages" xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:include schemaLocation="MS-OXWSCDATA-messages.xsd"/>
   <xs:import schemaLocation="MS-OXWSFOLD-types.xsd" namespace="http://schemas.microsoft.com/exchange/services/2006/types"/>
   <xs:complexType name="ArchiveItemType">
     <xs:complexContent mixed="false">
       <xs:extension base="tns:BaseRequestType">
         <xs:sequence>
           <xs:element name="ArchiveSourceFolderId" type="t:TargetFolderIdType"/>
           <xs:element name="ItemIds" type="t:NonEmptyArrayOfBaseItemIdsType"/>
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
   <xs:element name="ArchiveItem" type="tns:ArchiveItemType"/>
   <xs:complexType name="ArchiveItemResponseType">
     <xs:complexContent mixed="false">
       <xs:extension base="tns:BaseResponseMessageType"/>
     </xs:complexContent>
   </xs:complexType>
   <xs:element name="ArchiveItemResponse" type="tns:ArchiveItemResponseType"/>
   <xs:complexType name="CreateFolderPathType">
     <xs:complexContent mixed="false">
       <xs:extension base="tns:BaseRequestType">
         <xs:sequence>
           <xs:element name="ParentFolderId" type="t:TargetFolderIdType"/>
           <xs:element name="RelativeFolderPath" type="t:NonEmptyArrayOfFoldersType"/>
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>
   <xs:element name="CreateFolderPath" type="tns:CreateFolderPathType"/>
   <xs:complexType name="CreateFolderPathResponseType">
     <xs:complexContent mixed="false">
       <xs:extension base="tns:BaseResponseMessageType"/>
     </xs:complexContent>
   </xs:complexType>
   <xs:element name="CreateFolderPathResponse" type="tns:CreateFolderPathResponseType"/>
 </xs:schema>