Java Samples in the Web Services SDK

The Java samples in your vSphere Web Services SDK include .java files that you can compile and then run using any Java editor or IDE. The samples accept command-line arguments for the vSphere server name (DNS name or IP address), user name, and password.