This topic has not yet been rated - Rate this topic

4.1.1 EnumerateServers

SharePoint

To enumerate the available Domino servers, the protocol client sends the following message:

Request message:

<s:Envelope 
  xmlns:s="http://www.w3.org/2003/05/soap-envelope" 
  xmlns:a="http://www.w3.org/2005/08/addressing" 
  xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
  <s:Header>
    <a:Action s:mustUnderstand="1">
      http://tempuri.org/INotesWebServiceApplication/EnumerateServers
    </a:Action>
    <a:MessageID>
      urn:uuid:73bf4a5d-4c0b-4d61-b621-e255a45c5f4d
    </a:MessageID>
    <a:ReplyTo>
      <a:Address>
        http://www.w3.org/2005/08/addressing/anonymous
      </a:Address>
    </a:ReplyTo>
    <ServiceContext 
      xmlns="http://schemas.microsoft.com/sharepoint/servicecontext" 
      xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <correlationId>
        b14b0e1c-f5a5-4b96-bd92-2936264a5e5a
      </correlationId>
      <language>en-US</language>
      <region>en-US</region>
      <siteSubscriptionId>
        00000000-0000-0000-0000-000000000000
      </siteSubscriptionId>
    </ServiceContext>
    <a:To s:mustUnderstand="1" u:Id="_1">
      http://example.com:32843/088ec4ed4144457bb36088e0b5c0bea8/NotesWebService.svc
    </a:To>
  </s:Header>
  <s:Body>
    <EnumerateServers xmlns="http://tempuri.org/">
    </EnumerateServers>
  </s:Body>
</s:Envelope>

Response message:

<s:Envelope 
  xmlns:s="http://www.w3.org/2003/05/soap-envelope" 
  xmlns:a="http://www.w3.org/2005/08/addressing" 
  xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
  <s:Header>
    <a:Action s:mustUnderstand="1">
      http://tempuri.org/INotesWebServiceApplication/EnumerateServersResponse
    </a:Action>
    <a:RelatesTo>
      urn:uuid:73bf4a5d-4c0b-4d61-b621-e255a45c5f4d
    </a:RelatesTo>
  </s:Header>
  <s:Body>
    <EnumerateServersResponse xmlns="http://tempuri.org/">
      <EnumerateServersResult 
        xmlns:b="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Administration" 
        xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <b:SERVERITEM>
          <b:displayUrl>http://servernotes1</b:displayUrl>
          <b:serverId>servernotes1</b:serverId>
        </b:SERVERITEM>
        <b:SERVERITEM>
          <b:displayUrl>http://servernotes2</b:displayUrl>
          <b:serverId>servernotes2</b:serverId>
        </b:SERVERITEM>
      </EnumerateServersResult>
    </EnumerateServersResponse>
  </s:Body>
</s:Envelope>
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.