Lightweight JSON data binding wrapper for the VMware vSphere webservices SDK.
- Follow the grain of the vSphere SDK - no new abstractions, no wrapper classes, decorators etc.
- Low conceptual overhead - low learning curve for those who are familiar with the vSphere MOB.
- Provide a resource-oriented, functional interface; not a hierarchical object model
- Favor utility over completeness - address the common cases first
- Download SDK zip file
- Unzip
- cd vsphere-ws/java/JAXWS
- Run build.sh
- cd lib
- Install vim25.jar into local Maven repo. mvn install:install-file -Dfile=./vim25.jar -DgroupId=com.vmware -DartifactId=vim25 -Dversion=6.0.0 -Dpackaging=jar
mvn test -DargLine="-Dvc.host=127.0.0.1 -Dvc.username=[email protected] -Dvc.password='password' -Dvc.vmname='VMware vCenter Server Appliance'"
- If you are running vSphere 6.5 or higher you dont need any of this. One of the new features in 6.5 is the vCenter REST API which natively offers a modernized programmatic interface to vCenter. See https://blogs.vmware.com/developer/2016/10/whats-new-developer-automation-interfaces-65.html