Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 293210

retrievePropertiesEx gets soap fault on vm object that was deleted.

$
0
0

I am creating a program to monitor events and get info on the vm that caused it.

But retrievePropertiesEx is returning soap faults instead of null.

 

What happens is I get the event (ie vmPoweredDown)  using "waitforupdatesEx " then use "retrievePropertiesEx" to get info

on the VM. I use the MOR of the vm returned from "waitforupdatesEx" as a starting object

for my traversal(ObjectSpec) . But if the vm is deleted right after the powerdown then it no longer exist.

This is what is causing the soap fault. It seems to me that retrievePropertiesEx should return null.


Viewing all articles
Browse latest Browse all 293210

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>