7.2 Types Schema

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

MS-OXWSPOST-types.xsd includes the file listed in the following table. To operate correctly, this file has to be present in the folder that contains the WSDL, types schema, and messages schema files for this protocol.

File name

Defining specification

MS-OXWSCORE-types.xsd

[MS-OXWSCORE] section 7.2

 <?xml version="1.0" encoding="utf-8"?>
 <xs:schema 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/types" elementFormDefault="qualified" version="Exchange2016" id="types">
   <xs:import namespace="http://www.w3.org/XML/1998/namespace"/>
 <xs:include schemaLocation="MS-OXWSCORE-types.xsd"/>
  
   
   <xs:complexType name="PostItemType">
     <xs:complexContent>
       <xs:extension base="t:ItemType">
         <xs:sequence>
           <xs:element name="ConversationIndex" type="xs:base64Binary" minOccurs="0"/>
           <xs:element name="ConversationTopic" type="xs:string" minOccurs="0"/>
           <!-- From property can only be set at creation time -->
           <xs:element name="From" type="t:SingleRecipientType" minOccurs="0"/>
           <xs:element name="InternetMessageId" type="xs:string" minOccurs="0"/>
           <xs:element name="IsRead" type="xs:boolean" minOccurs="0" />
           <!-- PostedTime is read only -->
           <xs:element name="PostedTime" type="xs:dateTime" minOccurs="0"/>
           <xs:element name="References" type="xs:string" minOccurs="0" />
           <!-- Sender can only be set at creation time -->
           <xs:element name="Sender" type="t:SingleRecipientType" minOccurs="0"/>
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>  
   
   <xs:complexType name="PostReplyItemBaseType">
     <xs:complexContent>
       <xs:restriction base="t:ResponseObjectType">
         <xs:sequence>
           <xs:element name="Subject" type="xs:string" minOccurs="0" />
           <xs:element name="Body" type="t:BodyType" minOccurs="0" />
           <xs:element name="ReferenceItemId" type="t:ItemIdType" minOccurs="0" />
         </xs:sequence>
         <xs:attribute name="ObjectName" type="xs:string" use="prohibited" />
       </xs:restriction>
     </xs:complexContent>
   </xs:complexType>
   <xs:complexType name="PostReplyItemType">
     <xs:complexContent>
       <xs:extension base="t:PostReplyItemBaseType">
         <xs:sequence>
           <xs:element name="NewBodyContent" type="t:BodyType" minOccurs="0" />
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>  
 </xs:schema>