Hello,
I have had a decent amount of experience working with PowerCLI, but there has been a recent need to pick up the Java SDK. I am running Windows 7 and have downloaded JDK 7, and the SDK package from my local ESXi server, but am having some issues running the examples. Here is some output that has me scratching my head:
c:\SDK\JAXWS>run.bat Connect --username eshen --password mypassword --url https://myserver/sdk
WARNING: Java is now set to trust all SSL certificates.
-- VMware samples in Java --
The server at https://usyp-vctr55.kingstonlab.corp:7444/ims/STSService did not respond as expected. Is this a valid URL?Note: SSO connections only work on vCenter SSO enabled products.
Use the --basic-connection switch if you know this is an ESX host.
See the connection.properties file for more instructions.
No valid connection available. Exiting now.
Done.
It seems like changing the url around a bit always ends up redirectiong to the :7444/ims/STSService address.
When I go to that address, something does pop up, with the source code as follows: