System.Web.Services.Description.WebServicesInteroperability.CheckConformance Method

Verifies whether a given Web service or services conforms to a given WS-I specification, and provides a list of any violations that it finds.

Syntax

public static bool CheckConformance (System.Web.Services.WsiProfiles claims, WebReference webReference, BasicProfileViolationCollection violations)

Parameters

claims
A member of System.Web.Services.WsiProfiles that indicates a Web services interoperability specification.
webReference
A System.Web.Services.Description.WebReference that describes a Web service.
violations
A System.Web.Services.Description.BasicProfileViolationCollection that contains any violations that were found.

Returns

true if the Web service described by webReference conforms to the Web services interoperability specification indicated by claims; false otherwise.

Remarks

The WS-I publishes non-proprietary Web services specifications to promote the interoperability of Web services across platforms.

Requirements

Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0