DiscoveryClientProtocol::ResolveOneLevel Method
Resolves all references to discovery documents, XML Schema Definition (XSD) schemas and service descriptions in References, as well as references found in those discovery documents.
Assembly: System.Web.Services (in System.Web.Services.dll)
ResolveOneLevel resolves all valid references it finds and places them in the Documents property. Both ResolveAll and ResolveOneLevel download and verify XSD schemas and service descriptions in the References property. However, the two methods differ in how they handle discovery documents. ResolveOneLevel resolves all references in discovery documents within the References property. If a discovery document contains references to other discovery documents, ResolveOneLevel resolves just those discovery documents. Discovery documents found in those discovery documents nested one level deep are not resolved by ResolveOneLevel; whereas ResolveAll resolve them all. ResolveAll continues to resolve references in nested discovery documents until there are no more references.
Errors occurring during the verification process done by ResolveOneLevel are not thrown at the time of occurrence, but rather collected and added to the Errors property.
The following code example is a Web Form that populates a DataGrid with the details about the documents in the Documents property together with the references found in each document during an XML Web services discovery. The PopulateGrid method fills the DataGrid with the results from a DiscoverAny invocation followed by a call to ResolveOneLevel.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.