VMware {code} Community
mm6
Contributor
Contributor

how to know if session cookie expired for retrieveProperties()

retrieveProperties() seems to return null if nothing matches or if the session cookie you send has expired. Other calls such as findByInventoryPath() return a SOAP fault if the session has expired.

How do I tell if the cookie is bad or the property filter spec returned no matches? I'm using this for getting tasks which often there are none of. I'd prefer not to do another call each time to check the session if there is another way.

Reply
0 Kudos
0 Replies