Jonathan
Once you connect to the server, get the option manager
client = Client(ip,user,password)
om = client.si.content.setting
om.QueryOptions(name='VirtualCenter.FQDN')
returns
[(OptionValue){
key = "VirtualCenter.FQDN"
value = "localhost"
}]
I want to change this, so I create the OptionValue spec
spec = client.create('OptionValue')
spec.key = "VirtualCenter.FQDN"
spec.value = "172.0.0.1"
om.UpdateOptions(spec)
The problem is the value is of "any type" and to force that to string the xml looks like this
<value type='xsd:string'>172.0.0.1'</value>
If i use the spec.value as in the example then 'xsd:string' is not set and vcenter throws an error
This is true with all messages where th type is of "any type"
Hope I am clear here
Kiran