As the returned message says, the argument caused the trouble was the fault argument, which is of type MethodFault. According to the API reference, the fault argument is really optional. But my g...
See more...
As the returned message says, the argument caused the trouble was the fault argument, which is of type MethodFault. According to the API reference, the fault argument is really optional. But my guess is that when you give a state of error, the fault argument becomes required. So this is really conditionally optional. So to fix the problem, you may want to pass in fault argument. Steve, author of vSphere and VI SDK, creator of open source vijava API managing vSphere, http://www.doublecloud.org