Partager via


3.1.4.4 SearchMailboxes

The SearchMailboxes operation searches for items in the specified mailboxes that match query keywords.

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

 <wsdl:operation name="SearchMailboxes" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <wsdl:input message="tns:SearchMailboxesSoapIn"/>
   <wsdl:output message="tns:SearchMailboxesSoapOut"/>
 </wsdl:operation>

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

 <wsdl:operation name="SearchMailboxes" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <soap:operation soapAction="http://schemas.microsoft.com/exchange/services/2006/messages/SearchMailboxes" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
   <wsdl:input>
     <soap:header message="tns:SearchMailboxesSoapIn" part="RequestVersion" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
     <soap:header message="tns:SearchMailboxesSoapIn" part="ManagementRole" 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="SearchMailboxesResult" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
     <soap:header message="tns:SearchMailboxesSoapOut" part="ServerVersion" use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"/>
   </wsdl:output>
 </wsdl:operation>

The client sends a SearchMailboxesSoapIn request WSDL message, as specified in section 3.1.4.4.1.1, and the server responds with a SearchMailboxesSoapOut response, as specified in section 3.1.4.4.1.2.