Hello,
I'm currently trying to set up a vSphere SDK development environment on my Windows 7 PC (192.168.2.36). I've installed Windows 2008 on two VMs. Both are in the same domain, one as Domain Controller (3.150), the other one for vCenter Server (3.148). I've performed a Simple Install, and all the components seem to have been installed correctly. On my Win7 computer, I can open and log into the Web Client in my browser by visiting https://192.168.3.148:9443, and it can detect the instance of vCenter Server installed on the same VM.
However, I can't make the Java samples connected to the vCenter. When I try to run the sample on my machine by typing :
run.bat com.vmware.general.SimpleClient --url https://192.168.3.148/sdk --username administrator@vsphere.local--password XXXXX --ignorecert ignorecert.
I always get the error message:
ims/STSService did not respond as expected. Is this a valid URL?
If I replace de IP address by the name of the machine, such as https://win-vadp-vc.mydomain.com/sdk, it gives me timeout.
I have checked all the services of VMware, and everything is running. Any idea please ? Thanks !