System.Web.Services.Discovery.DiscoveryClientProtocol.ResolveOneLevel Method

Resolves all references to discovery documents, XML Schema Definition (XSD) schemas and service descriptions in DiscoveryClientProtocol.References, as well as references found in those discovery documents.

Syntax

public void ResolveOneLevel ()

Remarks

DiscoveryClientProtocol.ResolveOneLevel resolves all valid references it finds and places them in the DiscoveryClientProtocol.Documents property. Both DiscoveryClientProtocol.ResolveAll and DiscoveryClientProtocol.ResolveOneLevel download and verify XSD schemas and service descriptions in the DiscoveryClientProtocol.References property. However, the two methods differ in how they handle discovery documents. DiscoveryClientProtocol.ResolveOneLevel resolves all references in discovery documents within the DiscoveryClientProtocol.References property. If a discovery document contains references to other discovery documents, DiscoveryClientProtocol.ResolveOneLevel resolves just those discovery documents. Discovery documents found in those discovery documents nested one level deep are not resolved by DiscoveryClientProtocol.ResolveOneLevel; whereas DiscoveryClientProtocol.ResolveAll resolve them all. DiscoveryClientProtocol.ResolveAll continues to resolve references in nested discovery documents until there are no more references.

Errors occurring during the verification process done by DiscoveryClientProtocol.ResolveOneLevel are not thrown at the time of occurrence, but rather collected and added to the DiscoveryClientProtocol.Errors property.

Requirements

Namespace: System.Web.Services.Discovery
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0