3.1.4.8 UpdateFolder

The UpdateFolder operation modifies properties of an existing folder in the server message store.

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

 <wsdl:operation name="UpdateFolder">
     <wsdl:input message="tns:UpdateFolderSoapIn" />
     <wsdl:output message="tns:UpdateFolderSoapOut" />
 </wsdl:operation>

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

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

The protocol client sends an UpdateFolderSoapIn request WSDL message, and the protocol server responds with a UpdateFolderSoapOut response WSDL message.

A successful UpdateFolder operation request returns an UpdateFolderResponse element with the ResponseClass attribute of the UpdateFolderResponseMessage element set to "Success" and the ResponseCode element of the UpdateFolderResponse element set to "NoError".

An unsuccessful UpdateFolder operation request returns an UpdateFolderResponse element with the ResponseClass attribute of the UpdateFolderResponseMessage element set to "Error". The ResponseCode element of the UpdateFolderResponseMessage element is set to a value of the ResponseCodeType simple type, as specified in [MS-OXWSCDATA] section 2.2.5.24.