7.2 Identity Management Operations for Directory Access [WSTIM] Extended XML Schema

This section illustrates the application of WSPELD extensions to [MS-WSTIM] protocol; that is, it shows how WSPELD extensions are to be used in conjunction with [MS-WSTIM] extensions. For clarity, elements of [MS-WSTIM] schema which are untouched and not been extended by this protocol are not shown in the extended schema. To obtain the full extended [MS-WSTIM] schema, non extended XML elements, attributes, complex types, and so on, from the [MS-WSTIM] schema must be included.

  
 <?xml version="1.0" encoding="utf-8"?>
 <xsd:schema
   targetNamespace="http://schemas.microsoft.com/2006/11/IdentityManagement/DirectoryAccess"
   xmlns:da="http://schemas.microsoft.com/2006/11/IdentityManagement/DirectoryAccess"
   xmlns:wsa="http://www.w3.org/2005/08/addressing"
   xmlns:wxf="http://schemas.xmlsoap.org/ws/2004/09/transfer"
   xmlns:ad="http://schemas.microsoft.com/2008/1/ActiveDirectory"
   xmlns:xsd="http://www.w3.org/2001/XMLSchema"
   xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12"
   >
  
   <!--import schema for [MS-WSPELD] extension elements-->
   <xsd:import namespace="http://schemas.microsoft.com/2008/1/ActiveDirectory" />
   <xsd:import namespace="http://schemas.xmlsoap.org/ws/2004/09/transfer" />
   <!--other elements defined by [MS-WSTIM]
  ...
  ...
  ...
  ...
  ...
  ...-->
   
   <xsd:element name="BaseObjectSearchRequest">
     <xsd:complexType>
       <xsd:sequence>
         <xsd:element ref="da:AttributeType" minOccurs="0"
                      maxOccurs="unbounded" />
         <xsd:element ref="ad:controls"
                             minOccurs="0" maxOccurs="1" />
       </xsd:sequence>
       <xsd:attribute name="Dialect" type="xsd:anyURI" />
     </xsd:complexType>
   </xsd:element>
  
   <xsd:element name="BaseObjectSearchResponse">
     <xsd:complexType>
       <xsd:sequence>
         <xsd:element name="PartialAttribute"
                      type="da:PartialAttributeXmlType"
                      minOccurs="1" maxOccurs="unbounded" />
         <xsd:element ref="ad:controls" minOccurs="0" maxOccurs="1" />
       </xsd:sequence>
     </xsd:complexType>
   </xsd:element>
  
   <xsd:element name="AddRequest">
     <xsd:complexType>
       <xsd:sequence>
         <xsd:element ref="da:AttributeTypeAndValue"
                      minOccurs="0" maxOccurs="unbounded" />
         <xsd:element ref="ad:controls" minOccurs="0" maxOccurs="1" />
       </xsd:sequence>
       <xsd:attribute name="Dialect" type="xsd:anyURI" />
     </xsd:complexType>
   </xsd:element>
  
   <!--other elements defined by [MS-WSTIM]
  ...
  ...
  ...
  ...
  ...
  ...-->
   
  
   <xsd:element name="ModifyRequest">
     <xsd:complexType>
       <xsd:sequence>
         <xsd:element ref="da:Change"
                      minOccurs="0" maxOccurs="unbounded" />
         <xsd:element ref="ad:controls" minOccurs="0" maxOccurs="1" />
       </xsd:sequence>
       <xsd:attribute name="Dialect" type="xsd:anyURI" />
     </xsd:complexType>
   </xsd:element>
  
   <!--other elements defined by [MS-WSTIM]
  ...
  ...
  ...
  ...
  ...
  ...-->
   <xsd:complexType name="AddResponseType" >
     <xsd:sequence>
       <xsd:element ref="wxf:ResourceCreated" />
       <xsd:element ref="ad:controls" minOccurs="0" maxOccurs="1" />
     </xsd:sequence>
   </xsd:complexType>
  
   <!--other elements defined by [MS-WSTIM]
  ...
  ...
  ...
  ...
  ...
  ...-->
 </xsd:schema>