4.3.2 RequestSecurityToken Example: Response

The following snippet demonstrates the call to the RequestSecurityTokenResponseCollection (section 3.4.4.1.1.2) message.

 <s:Envelope xmlns:s="http://schemas.xmlsoap.org/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://schemas.microsoft.com/windows/pki/2009/01/enrollment/RSTRC/wstep
       </a:Action>
       <a:RelatesTo>urn:uuid:81a5419a-496b-474f-a627-5cdd33eed8ab</a:RelatesTo>
       <o:Security s:mustUnderstand="1" xmlns:o=
          "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
          <u:Timestamp u:Id="_0">
             <u:Created>2012-08-02T00:32:59.420Z</u:Created>
             <u:Expires>2012-08-02T00:37:59.420Z</u:Expires>
          </u:Timestamp>
       </o:Security>
    </s:Header>
    <s:Body>
       <RequestSecurityTokenResponseCollection 
          xmlns="http://docs.oasis-open.org/ws-sx/ws-trust/200512">
          <RequestSecurityTokenResponse>
             <TokenType>
     http://schemas.microsoft.com/5.0.0.0/ConfigurationManager/Enrollment/DeviceEnrollmentToken
             </TokenType>
              <DispositionMessage xmlns="http://schemas.microsoft.com/windows/pki/2009/01/enrollment"/>           <RequestedSecurityToken>
                <BinarySecurityToken 
                   ValueType=
 "http://schemas.microsoft.com/5.0.0.0/ConfigurationManager/Enrollment/DeviceEnrollmentProvisionDoc"
                   EncodingType=
    "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd#base64binary"
                   xmlns=
           "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                   B64EncodedSampleBinarySecurityToken
                </BinarySecurityToken>
             </RequestedSecurityToken>
             <RequestID xmlns="http://schemas.microsoft.com/windows/pki/2009/01/enrollment">0
             </RequestID>
          </RequestSecurityTokenResponse>
       </RequestSecurityTokenResponseCollection>
    </s:Body>
 </s:Envelope>