6.4 Autodiscover Response Schema

This section contains the contents of the AutodiscoverResponse.xsd file. The additional file that this schema file requires to operate correctly is listed in the following table.

File name

Defining section

AutodiscoverMobileSync.xsd

6.2

 <?xml version="1.0" encoding="UTF-8"?>
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns=
     "http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006" 
     targetNamespace=
     "http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006"
     xmlns:mobilesync=
     "http://schemas.microsoft.com/exchange/autodiscover/mobilesync/responseschema/2006" 
     elementFormDefault="qualified" attributeFormDefault="unqualified">
   <xs:import namespace=
       "http://schemas.microsoft.com/exchange/autodiscover/mobilesync/responseschema/2006" 
       schemaLocation="AutodiscoverMobileSync.xsd"/>
   <xs:element name="Autodiscover">
     <xs:complexType>
       <xs:sequence>
         <xs:choice>
         <xs:element ref="mobilesync:Response"/>
         <xs:element name="Response">
           <xs:complexType>
             <xs:sequence>
               <xs:element name="Error" minOccurs="0">
                 <xs:complexType>
                   <xs:sequence>
                     <xs:element name="ErrorCode" type="xs:integer" 
                   minOccurs="0"/>
                     <xs:element name="Message" type="xs:string" 
                   minOccurs="0"/>
                     <xs:element name="DebugData" type="xs:string" 
                   minOccurs="0"/>
                     </xs:sequence>
                   <xs:attribute name="Time" type="xs:string"/>
                   <xs:attribute name="Id" type="xs:unsignedInt"/>
                   </xs:complexType>
                 </xs:element>
               </xs:sequence>
             </xs:complexType>
           </xs:element>        
        </xs:choice>
       </xs:sequence>
     </xs:complexType>
   </xs:element>
 </xs:schema>