private void VerifyRestoreMeetingResponse()
{
bool isResponseValid = ValidationResult.Success == SchemaValidation.ValidationResult;
// If the server response pass the validation successfully, we can make sure that the server responds with a RestoreMeetingSoapOut response message.
// Verifies MS-MEETS requirement: MS-MEETS_R260.
Site.CaptureRequirementIfIsTrue(
isResponseValid,
260,
@"[In RestoreMeeting]This operation [RestoreMeeting]is defined as follows.
<wsdl:operation name=""RestoreMeeting"">
<wsdl:input message=""RestoreMeetingSoapIn"" />
<wsdl:output message=""RestoreMeetingSoapOut"" />
</wsdl:operation>");
// If the server response pass the validation successfully, we can make sure that the server responds with a RestoreMeetingSoapOut response message.
// Verifies MS-MEETS requirement: MS-MEETS_R262.
Site.CaptureRequirementIfIsTrue(
isResponseValid,
262,
@"[In RestoreMeeting][if the client sends a RestoreMeetingSoapIn request message]and the protocol server responds with a RestoreMeetingSoapOut response message (section 3.1.4.8.1.2).");
// Verifies MS-MEETS requirement: MS-MEETS_R270.
Site.CaptureRequirementIfIsTrue(
this.ResponseExists(SchemaValidation.LastRawResponseXml, "RestoreMeetingResponse"),
270,
@"[In RestoreMeetingSoapOut]The SOAP body contains a RestoreMeetingResponse element (section 3.1.4.8.2.2).");
// If the server response pass the validation successfully, we can make sure that the RestoreMeetingResponse is defined according to the schema.
// Verifies MS-MEETS requirement: MS-MEETS_R273.
Site.CaptureRequirementIfIsTrue(
isResponseValid,
273,
@"[In RestoreMeetingResponse]This element [RestoreMeetingResponse]is defined as follow.
<s:element name=""RestoreMeetingResponse""> <s:complexType/> </s:element>");
}