Partager via


3.1.4.2 CreateItem Operation

The CreateItem operation creates one or more calendar-related items on the server. This operation can be used to create appointments, meetings, meeting request messages, meeting response messages, and meeting cancellation messages. It can also be used to cancel a meeting, and when a meeting is cancelled, it can be used to remove the meeting item and corresponding meeting cancellation message from the server. This operation is specified in [MS-OXWSCORE] section 3.1.4.2.

The following is the WSDL port type specification for the CreateItem operation.

 <wsdl:operation name="CreateItem">
      <wsdl:input message="tns:CreateItemSoapIn" />
      <wsdl:output message="tns:CreateItemSoapOut" />
 </wsdl:operation>

The following is the WSDL binding specification for the CreateItem operation.

 <wsdl:operation name="CreateItem">
    <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/CreateItem"/>
    <wsdl:input>
       <soap:header message="tns:CreateItemSoapIn" part="Impersonation" use="literal"/>
       <soap:header message="tns:CreateItemSoapIn" part="MailboxCulture" use="literal"/>
       <soap:header message="tns:CreateItemSoapIn" part="RequestVersion" use="literal"/>
       <soap:header message="tns:CreateItemSoapIn" part="TimeZoneContext" use="literal"/>
       <soap:body parts="request" use="literal"/>
    </wsdl:input>
    <wsdl:output>
       <soap:body parts="CreateItemResult" use="literal"/>
       <soap:header message="tns:CreateItemSoapOut" part="ServerVersion" use="literal"/>
    </wsdl:output>
 </wsdl:operation>