Microsoft.Protocols.TestSuites.MS_OUTSPS.MS_OUTSPSAdapter.SetSoapVersion C# (CSharp) Method

SetSoapVersion() private method

Set the SOAP version according to the SoapVersion property.
private SetSoapVersion ( ) : void
return void
        private void SetSoapVersion()
        {
            SoapVersion soapVersion = Common.GetConfigurationPropertyValue<SoapVersion>("SoapVersion", this.Site);

            switch (soapVersion)
            {
                case SoapVersion.SOAP11:
                    {
                        this.listsProxy.SoapVersion = SoapProtocolVersion.Soap11;
                        break;
                    }

                default:
                    {
                        this.listsProxy.SoapVersion = SoapProtocolVersion.Soap12;
                        break;
                    }
            }
        }