Discovers the supplied URL to determine if it is a discovery document, service description or an XML Schema Definition (XSD) schema.
A System.Web.Services.Discovery.DiscoveryDocument containing the results of XML Web services discovery at the supplied URL. If the url parameter refers to a service description or an XSD Schema, a System.Web.Services.Discovery.DiscoveryDocument is created in memory for it.
The DiscoveryClientProtocol.DiscoverAny(string) method discovers whether the supplied URL is a discovery document, service description or XSD schema. If it is known that the URL only refers to a discovery document, the DiscoveryClientProtocol.Discover(string) method might be invoked.
If the supplied URL points to a valid discovery document, XSD schema, or service description, the discovery document at the supplied URL is added to the DiscoveryClientProtocol.Documents and DiscoveryClientProtocol.References collections. When the supplied URL refers to an XSD schema or Service Description a System.Web.Services.Discovery.DiscoveryDocument is created in memory and added to the DiscoveryClientProtocol.Documents and DiscoveryClientProtocol.References collections. Additionally, references within the discovery document are added to the DiscoveryClientProtocol.References collection, but not verified to point to valid discovery documents. To verify that references point to valid discovery documents, invoke the DiscoveryClientProtocol.ResolveAll or DiscoveryClientProtocol.ResolveOneLevel methods.