Microsoft.Protocols.TestSuites.MS_CPSWS.MS_CPSWSAdapter.ValidateAndCaptureSOAPFaultRequirement C# (CSharp) Method

ValidateAndCaptureSOAPFaultRequirement() private method

Validate server fault returned by FaultException and capture related requirements.
private ValidateAndCaptureSOAPFaultRequirement ( System.ServiceModel.FaultException exception ) : void
exception System.ServiceModel.FaultException The FaultException thrown which contains the SOAP fault.
return void
        private void ValidateAndCaptureSOAPFaultRequirement(FaultException exception)
        {
            Site.CaptureRequirementIfIsNotNull(
                exception,
                8,
                @"[In Transport] Protocol server faults MUST be returned [using HTTP Status-Codes as specified in [RFC2616] , section 10 or] using SOAP faults as specified in [SOAP1.1] , section 4.4 Scope[[#Headers],[Description]]or [SOAP1.2/1] , section 5.4.");
        }
    }