private void VerifyTransportRequirement()
{
TransportProtocol currentTransportProtocol = Common.GetConfigurationPropertyValue<TransportProtocol>("TransportType", this.Site);
if (TransportProtocol.HTTP == currentTransportProtocol)
{
// Verify MS-OUTSPS requirement: MS-OUTSPS_R868
this.Site.CaptureRequirement(
868,
@"[In Transport] Protocol servers MUST support SOAP over HTTP.");
}
else if (TransportProtocol.HTTPS == currentTransportProtocol)
{
if (Common.IsRequirementEnabled(892, this.Site))
{
// Verify MS-OUTSPS requirement: MS-OUTSPS_R892
this.Site.CaptureRequirement(
892,
@"[In Appendix B: Product Behavior]Implementation does additionally support SOAP over HTTPS for securing communication with clients. (Windows® SharePoint® Services 3.0 and above products follow this behavior.)");
}
}
// If the SOAP operations communicate with protocol SUT, then capture R870
this.Site.CaptureRequirement(
870,
@"[In Transport] This protocol uses the same transport, security model, and SOAP versions as the Lists Web Service Protocol ([MS-LISTSWS]).");
}