Partager via


3.1.4.1 ArchiveItem

The ArchiveItem operation moves items from the primary mailbox to the archive mailbox.

The following is the WSDL port type specification of the ArchiveItem WSDL operation.

 <wsdl:operation name="ArchiveItem" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <wsdl:input message="tns:ArchiveItemSoapIn"/>
   <wsdl:output message="tns:ArchiveItemSoapOut"/>
 </wsdl:operation>

The following is the WSDL binding specification of the ArchiveItem operation.

 <wsdl:operation name="ArchiveItem" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/ArchiveItem" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
   <wsdl:input>
     <soap:header message="tns:ArchiveItemSoapIn" part="Impersonation" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
     <soap:header message="tns:ArchiveItemSoapIn" part="MailboxCulture" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
     <soap:header message="tns:ArchiveItemSoapIn" part="RequestVersion" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
     <soap:body use="literal" parts="request" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
   </wsdl:input>
   <wsdl:output>
     <soap:body use="literal" parts="ArchiveItemResult" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
     <soap:header message="tns:ArchiveItemSoapOut" part="ServerVersion" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
   </wsdl:output>
 </wsdl:operation>

    

The protocol client sends an ArchiveItemSoapIn request WSDL message, as specified in section 3.1.4.1.1.1, and the protocol server responds with an ArchiveItemSoapOut response message, as specified in section 3.1.4.1.1.2.