3.1.4.12 SetOofStatus Operation

The SetOofStatus operation sets a value that indicates whether the Out of Office (OOF) greeting is played to callers who reach the user's voice mail. The SetOofStatus operation uses the endpoint specified in [MS-OXDSCLI] section 2.2.4.1.1.2.6.47.

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

   <wsdl:operation name="SetOofStatus">
     <wsdl:input message="tns:SetOofStatusSoapIn" />
     <wsdl:output message="tns:SetOofStatusSoapOut" />
   </wsdl:operation>

The following is the WSDL binding specification of the operation.

 <wsdl:operation name="SetOofStatus">
    <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/SetOofStatus" style="document"/>
    <wsdl:input>
       <soap:body use="literal"/>
    </wsdl:input>
    <wsdl:output>
       <soap:body use="literal"/>
    </wsdl:output>
 </wsdl:operation>

If the operation succeeds, a SetOofStatusResponse element is returned.

If the operation fails, a SOAP fault response, as specified in [SOAP1.1], is returned that contains information about the failure. A SOAP fault MUST be returned if the SetOofStatusSoapIn request XML is malformed. The structure of a SOAP fault for malformed request is specified in section 2.2.2.1.