5 Retrieve the STS service port (STSService). The service port provides access to the vCenter Single Sign On client API methods. The vCenter Single Sign On handler resolver must be associated with the STS service before you retrieve the service port. See Using Handler Methods for SOAP Headers.
6 Create a token request (RequestSecurityTokenType). Your vCenter Single Sign On client will pass the token request to the Issue method. The Issue method will send the token request in the body of the SOAP message. This example sets the token request fields as appropriate for a holder-of-key token request.
■