4.1.6 Updating a Certificate

This example shows the request and response messages that are sent to and received from the UpdateAppIdCertificate operation.

The following is an example of the request that is sent to the UpdateAppIdCertificate operation.

  
 <?xml version="1.0" encoding="utf-8"?>
 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
     <UpdateAppIdCertificate xmlns="http://domains.live.com/Service/ManageDelegation/V1.0">
       <appId>0000000060000EB9</appId>
       <appIdAdminKey>6MoWllqVuL/sYZFCNPcGRhn+dyVX4TR4J9xFZsB7jKU=</appIdAdminKey>
       <newCertificate>MIIFTTCCBPegAwIBAgIKIl... </newCertificate>
     </UpdateAppIdCertificate>
   </soap:Body>
 </soap:Envelope>
  

The following required attributes and elements are used in the example:

  • /soap:Envelope/soap:Body/UpdateAppIdCertificate/appId: The application identifier that is assigned to the organization by the STS. The application identifier can be any combination of letters and numbers.

  • /soap:Envelope/soap:Body/UpdateAppIdCertificate/apIdAdminKey: The administrative key that is assigned to the organization by the STS.

  • /soap:Envelope/soap:Body/UpdateAppIdCertificate/newCertificate: The new certificate in base64 encoding that will be used to identify requests from the organization and to encrypt information that is sent to the organization.

The following is an example of the response that is returned by the UpdateAppIdCertificate operation.

  
 <?xml version="1.0" encoding="utf-8"?>
 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
     <UpdateAppIdCertificateResponse xmlns="http://domains.live.com/Service/ManageDelegation/V1.0" />
   </soap:Body>
 </soap:Envelope>