/* * WS-Enumerate * * enumerate: List resources * * It is highly recommended to do an optimized enumeration by * setting the client options * options.flags = Openwsman::FLAG_ENUMERATION_OPTIMIZATION * options.max_elements = 999 * to get the enumeration result as part of the http request. * * Otherwise separate pull requests are needed resulting in extra * round-trips (client -> wsman -> cimom & back), dramatically * affecting performance. * * call-seq: * client.enumerate(options, filter, uri) -> XmlDoc * */ WsXmlDocH enumerate( client_opt_t *options , filter_t *filter, char *resource_uri) {