4.1.2 Discovery Example: Response

The following snippet demonstrates the call to the Discovery (section 3.1.4.1.1.2) output message.

 <s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">
    <s:Header>
       <a:Action   s:mustUnderstand="1">http://schemas.microsoft.com/windows/management/2012/01/enrollment/IDiscoveryService/DiscoverResponse
       </a:Action>
       <ActivityId CorrelationId="48915517-66c6-4ab7-8f77-c8277e45b3cf" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">a4067bc9-ce15-446b-a3f7-5ea1006256f5
       </ActivityId>
       <a:RelatesTo>
          urn:uuid:748132ec-a575-4329-b01b-6171a9cf8478
       </a:RelatesTo>
    </s:Header>
    <s:Body>
       <DiscoverResponse xmlns="http://schemas.microsoft.com/windows/management/2012/01/enrollment">
          <DiscoverResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
             <AuthPolicy>Federated</AuthPolicy>
             <AuthenticationServiceUrl>
                https://portal.manage.contoso.com/LoginRedirect.aspx
             </AuthenticationServiceUrl>
             <EnrollmentPolicyServiceUrl>
                https://manage.contoso.com/DeviceEnrollment/WinDeviceEnrollmentService.svc
             </EnrollmentPolicyServiceUrl>
             <EnrollmentServiceUrl>
                https://manage.contoso.com/DeviceEnrollment/WinDeviceEnrollmentService.svc
             </EnrollmentServiceUrl>
          </DiscoverResult>
       </DiscoverResponse>
    </s:Body>
 </s:Envelope>