vSphere Web Services SDK 安装
The VMware vSphere Web Services SDK includes all the components necessary to work with the VMware vSphere API, including WSDL files, sample code, and libraries. The vSphere Web Services SDK facilitates development of client applications that target the VMware vSphere API. With the vSphere Web Services SDK, developers can create client applications to manage, monitor, and maintain VMware vSphere components, as deployed on VMware 四、错误调试1、如果出现找不到类的错误,ClassNotFoundException:........,可以这样 打开CMD,切换到C:\devprojects\SDK\vsphere-ws\java\JAXWS\ java -Djavax.net.ssl.trustStore=%VMKEYSTORE% com.vmware.general.SimpleClient--url https://example.com/sdk --username pubs --password *** 2、如果提示JAVA虚拟机的内存不够,可以这样 java -Djavax.net.ssl.trustStore=%VMKEYSTORE% -Xms 512M -XMx1024M com.vmware.general.SimpleClient--url https://example.com/sdk --username pubs --password ***