Export (0) Print
Expand All

4.4 Obtain Status Information from the Server

SharePoint

The protocol client might request status information from protocol server by sending a request such as this one:

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <Status xmlns="urn:Microsoft.Search" />
  </soap12:Body>
</soap12:Envelope>

The protocol server might respond with a message such as this one:

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <StatusResponse xmlns="urn:Microsoft.Search">
      <StatusResult>ONLINE</StatusResult>
    </StatusResponse>
  </soap12:Body>
</soap12:Envelope>
Show:
© 2014 Microsoft