In accordance with an aspect of the invention, a machine readable medium having instructions stored thereon to cause the machine to execute a method of performing a discovery operation on network, hardware and software resources on which a web-service depends is provided, the method including receiving a request from a client, analyzing the request and available statistics to determine whether the