Steps to Connect with a vSphere Server
For a connection with a vSphere server, use the following steps:
- Get the VimPort object for access to the vSphere services.
- Call the RetrieveServiceContent method.
- Call the LoginByToken method; insert a SAML token into the request header..
- Extract the session cookie from the response.
- Use the session cookie to set the request context for future requests.
The following sections describe these steps.