VMware {code} Community
bpraharaj
Contributor
Contributor

VMCreate sample throws MethodNotFoundFault

I am new to this API. I am using vSphere 5.0 JAX WS API with my ESXi server version 3.5 and 4.0.  In both the cases it fails with MethodNotFoundFault.  The sample uses "retrievePropertiesEx" method which leads to this exception. I am unable to figureout the problem.  Any help is highly appreciated.

Thanks,

Bikash

Reply
0 Kudos
1 Reply
BenN
Enthusiast
Enthusiast

The method "retrievePropertiesEx" was added in vSphere 4.1, and so does not exist on ESX 3.5 and 4.0.

The API method docs usually have a "Since" paragraph for such additions:

   http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vmodl.query.PropertyCollecto...

Reply
0 Kudos