WebServicesInteroperability.CheckConformance Method

Definition

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.

Overloads

CheckConformance(WsiProfiles, ServiceDescription, BasicProfileViolationCollection)

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.

CheckConformance(WsiProfiles, ServiceDescriptionCollection, BasicProfileViolationCollection)

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.

CheckConformance(WsiProfiles, WebReference, BasicProfileViolationCollection)

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.

Remarks

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

CheckConformance(WsiProfiles, ServiceDescription, BasicProfileViolationCollection)

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.

public static bool CheckConformance (System.Web.Services.WsiProfiles claims, System.Web.Services.Description.ServiceDescription description, System.Web.Services.Description.BasicProfileViolationCollection violations);

Parameters

claims
WsiProfiles

A member of WsiProfiles that indicates a Web services interoperability specification.

description
ServiceDescription

A ServiceDescription that describes a Web service.

violations
BasicProfileViolationCollection

A BasicProfileViolationCollection that contains any violations that were found.

Returns

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

Remarks

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

Applies to

.NET Framework 4.8.1 和其他版本
产品 版本
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

CheckConformance(WsiProfiles, ServiceDescriptionCollection, BasicProfileViolationCollection)

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.

public static bool CheckConformance (System.Web.Services.WsiProfiles claims, System.Web.Services.Description.ServiceDescriptionCollection descriptions, System.Web.Services.Description.BasicProfileViolationCollection violations);

Parameters

claims
WsiProfiles

A member of WsiProfiles that indicates a Web services interoperability specification.

descriptions
ServiceDescriptionCollection

A ServiceDescriptionCollection that contains Web service descriptions.

violations
BasicProfileViolationCollection

A BasicProfileViolationCollection that contains any violations that were found.

Returns

true if the Web service descriptions contained in descriptions conform 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.

Applies to

.NET Framework 4.8.1 和其他版本
产品 版本
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

CheckConformance(WsiProfiles, WebReference, BasicProfileViolationCollection)

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.

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

Parameters

claims
WsiProfiles

A member of WsiProfiles that indicates a Web services interoperability specification.

webReference
WebReference

A WebReference that describes a Web service.

violations
BasicProfileViolationCollection

A 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.

Applies to

.NET Framework 4.8.1 和其他版本
产品 版本
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1