3.1.4.6 MarkAsJunk Operation

The MarkAsJunk operation marks message items as junk.<112>

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

 <wsdl:operation name="MarkAsJunk">
   <wsdl:input message="tns:MarkAsJunkSoapIn"/>
   <wsdl:output message="tns:MarkAsJunkSoapOut"/>
 </wsdl:operation>

The following is the WSDL binding specification of the MarkAsJunk operation

 <wsdl:operation name="MarkAsJunk">
   <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/MarkAsJunk"/>
   <wsdl:input>
     <soap:header message="tns:MarkAsJunkSoapIn" part="Impersonation" use="literal"/>
     <soap:header message="tns:MarkAsJunkSoapIn" part="MailboxCulture" use="literal"/>
     <soap:header message="tns:MarkAsJunkSoapIn" part="RequestVersion" use="literal"/>
     <soap:body parts="request" use="literal"/>
   </wsdl:input>
   <wsdl:output>
     <soap:body parts="MarkAsJunkResult" use="literal"/>
     <soap:header message="tns:MarkAsJunkSoapOut" part="ServerVersion" use="literal"/>
   </wsdl:output>
 </wsdl:operation>