4.1.1 Creating an Application Identifier

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

The following is an example of the request that was sent to the CreateAppId 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>
     <CreateAppId xmlns="http://domains.live.com/Service/ManageDelegation/V1.0">
       <certificate>MIIFCjCCBLSgAwIBAgIKFZsHigAGA...</certificate>
     </CreateAppId>
   </soap:Body>
 </soap:Envelope>
  

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

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

The following is an example of the response that is returned by the CreateAppId 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>
     <CreateAppIdResponse xmlns="http://domains.live.com/Service/ManageDelegation/V1.0">
       <CreateAppIdResult>
         <AppId>0000000060000EB9</AppId>
         <AdminKey>6MoWllqVuL/sYZFCNPcGRhn+dyVX4TR4J9xFZsB7jKU=</AdminKey>
       </CreateAppIdResult>
     </CreateAppIdResponse>
   </soap:Body>
 </soap:Envelope>
  

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

  • /soap:Envelope/soap:Body/CreateAppIdResponse/CreateAppIdResult/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/CreateAppIdResponse/CreateAppIdResult/AdminKey: The administrative key that is assigned to the organization by the STS. This key is used to identify the organization when changing administrative information that is maintained by the STS. The administrative key can be any combination of letters and numbers.