Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Viewing all articles
Browse latest Browse all 1860

how to get past this error? "Cannot find 'vimService.wsdl' wsdl. Place the resource correctly in the classpath."

$
0
0

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


Viewing all articles
Browse latest Browse all 1860

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>