Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

expected xsd:anyType for 'value', got array - error while using vmware API #64

Open
AbhishekS-NN opened this issue Feb 18, 2015 · 0 comments

Comments

@AbhishekS-NN
Copy link

Hi,
I'm trying to apply host profile using vmware APIs.

execute_result = profile.ExecuteHostProfile(host: mob)
apply_task = @client.connection.serviceInstance.content.hostProfileManager.ApplyHostConfig_Task(host: mob, configSpec: execute_result.configSpec)

I got the following error while applying the profile:
expected xsd:anyType for 'value', got array

Also, the complete configSpec is being displayed.
I tried to convert it into string and still its not working.

@AbhishekS-NN AbhishekS-NN changed the title expected xsd:anyType for 'value', got array - error using vmware API expected xsd:anyType for 'value', got array - error while using vmware API Feb 18, 2015
veloandy added a commit to veloandy/rbvmomi that referenced this issue Apr 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants