Upravit

Sdílet prostřednictvím


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);
public static bool CheckConformance (System.Web.Services.WsiProfiles claims, System.Web.Services.Description.ServiceDescription description, System.Web.Services.Description.BasicProfileViolationCollection violations);
static member CheckConformance : System.Web.Services.WsiProfiles * System.Web.Services.Description.ServiceDescription * System.Web.Services.Description.BasicProfileViolationCollection -> bool
Public Shared Function CheckConformance (claims As WsiProfiles, description As ServiceDescription, violations As BasicProfileViolationCollection) As Boolean

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

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);
public static bool CheckConformance (System.Web.Services.WsiProfiles claims, System.Web.Services.Description.ServiceDescriptionCollection descriptions, System.Web.Services.Description.BasicProfileViolationCollection violations);
static member CheckConformance : System.Web.Services.WsiProfiles * System.Web.Services.Description.ServiceDescriptionCollection * System.Web.Services.Description.BasicProfileViolationCollection -> bool
Public Shared Function CheckConformance (claims As WsiProfiles, descriptions As ServiceDescriptionCollection, violations As BasicProfileViolationCollection) As Boolean

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

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);
public static bool CheckConformance (System.Web.Services.WsiProfiles claims, System.Web.Services.Description.WebReference webReference, System.Web.Services.Description.BasicProfileViolationCollection violations);
static member CheckConformance : System.Web.Services.WsiProfiles * System.Web.Services.Description.WebReference * System.Web.Services.Description.BasicProfileViolationCollection -> bool
Public Shared Function CheckConformance (claims As WsiProfiles, webReference As WebReference, violations As BasicProfileViolationCollection) As Boolean

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