3.2.4.1.1.1 Exchange Message

The HTTP header MUST specify the SOAPACTION for the Exchange action as follows:

SOAPACTION: "urn:schemas-microsoft-com:service: mstrustagreement:1#Exchange"

Where "urn:schemas-microsoft-com:service: mstrustagreement:1" is the service type that comes from the device description, as specified in section 7, and "#Exchange" is the SOAP action.

The following XML session shows the <HostId>, <HostCertificate>, <IterationsRequired>, and <HostConfirmAuthenticator> elements in a SOAP Exchange message.

 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
   <SOAP-ENV:Body>
     <m:Exchange xmlns:m="urn:schemas-microsoft-com:service:mstrustagreement:1">
       <HostID xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">
         Control point identifier
       </HostID>
       <HostCertificate xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">
         Host Certificate payload
       </HostCertificate>
       <IterationsRequired xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="ui1">
         Number of iterations required
       </IterationsRequired>
       <HostConfirmAuthenticator xmlns:dt="urn:schemas-microsoft-com:datatypes" dt:dt="string">
         HostConfirmAuthenticator payload
       </HostConfirmAuthenticator>
     </m:Exchange>
   </SOAP-ENV:Body>
 </SOAP-ENV:Envelope>

HostID: The <HostID> element, as specified in section 2.2.3.2.

HostCertificate: The <HostCertificate> element, as specified in section 3.2.4.1.2.2.

IterationsRequired: The <IterationsRequired> element, as specified in section 2.2.3.4.

HostConfirmAuthenticator: The <HostConfirmAuthenticator> element, as specified in section 3.2.4.1.2.4.