-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't pass parameters to method #12
Comments
User error. :) dataStorePath is invalid -- needed to be datastorePath |
I am not able to specify the enumerated /dynamic types. For instance: the FileFolderQuery is simply a marker (has no attributes or members), but I method.js does not seen to be able to map 'FileFolderQuery', ['FileFolderQuery'], or { FileFolderQuery: null } into that dynamic type definition. Is there any way to specify this using a typing function? |
This also does not work:
I noticed the type is defined in the vsphere-schema instance, but still don't see any docs on how to resolve it.
|
It looks like you are using the v1 code which is no longer in development. In the v2 code which is currently in development you can accomplish this similar to https://github.com/bhoriuchi/vsphere-connect/blob/master/src/spec/VirtualMachine.js#L163 . The v2 api is documented http://bhoriuchi.github.io/vsphere-connect/#/api If you absolutely need to use the v1 code which uses the node-soap library you can specify an |
This seems to work:
Thanks! I will upgrade to v2 shortly, but the v1 fix is super helpful! Regards, |
Looks like method invocation is not slotting arguments into SOAP document properly.
Example:
Returns this:
The text was updated successfully, but these errors were encountered: