Hi,
I download the VMWare management SDK 5.1 with Java samples.
I ran the build.bat file to build everything (I had to tweak it to get it working because it didn't like the spaces in "Program Files", for example) -- it produced the vim25.jar and the samples.jar.
When I try to run a sample (CreateVM), I provide all the required params (url, username, password, and so on), but it gives me this error:
javax.xml.ws.WebServiceException: Cannot find 'vimService.wsdl' wsdl. Place the resource correctly in the classpath.
at com.vmware.vim25.VimService.<clinit>(VimService.java:32)
at com.vmware.vm.VMCreate.connect(VMCreate.java:253)
at com.vmware.vm.VMCreate.main(VMCreate.java:919)
I tried putting the vimService.wsdl in the classpath, but it still doesn't work.
What am I doing wrong? Stuck on this.
Thanks!
Rob