55 references to SoapProtocolVersion
System.Web.Services (55)
System\Web\Services\Description\SoapHttpTransportImporter.cs (3)
27CodeTypeReferenceExpression versionEnumTypeReference = new CodeTypeReferenceExpression(typeof(SoapProtocolVersion)); 28CodeFieldReferenceExpression versionEnumFieldReference = new CodeFieldReferenceExpression(versionEnumTypeReference, Enum.Format(typeof(SoapProtocolVersion), SoapProtocolVersion.Soap12, "G"));
System\Web\Services\Protocols\Soap11ServerProtocol.cs (2)
29internal override SoapProtocolVersion Version { 30get { return SoapProtocolVersion.Soap11; }
System\Web\Services\Protocols\Soap12ServerProtocol.cs (2)
28internal override SoapProtocolVersion Version { 29get { return SoapProtocolVersion.Soap12; }
System\Web\Services\Protocols\SoapClientMessage.cs (3)
92public override SoapProtocolVersion SoapVersion { 93get { return protocol.SoapVersion == SoapProtocolVersion.Default ? SoapProtocolVersion.Soap11 : protocol.SoapVersion; }
System\Web\Services\Protocols\SoapClientProtocol.cs (11)
169SoapProtocolVersion version = SoapProtocolVersion.Default; 224[DefaultValue(SoapProtocolVersion.Default), WebServicesDescription(Res.ClientProtocolSoapVersion), ComVisible(false)] 225public SoapProtocolVersion SoapVersion { 265Encoding enc = message.SoapVersion == SoapProtocolVersion.Soap12 ? RequestResponseUtils.GetEncoding2(message.ContentType) : RequestResponseUtils.GetEncoding(message.ContentType); 486return this.version == SoapProtocolVersion.Soap12 ? Soap12.Namespace : Soap.Namespace; 492return this.version == SoapProtocolVersion.Soap12 ? Soap12.Encoding : Soap.Encoding; 498return this.version == SoapProtocolVersion.Soap12 ? ContentType.ApplicationSoap : ContentType.TextXml; 520if (this.version == SoapProtocolVersion.Soap12) 534if (this.version != SoapProtocolVersion.Soap12 && request.Headers[Soap.Action] == null) { 570if (isEncoded && version != SoapProtocolVersion.Soap12) // don't write encodingStyle on soap:Body for soap 1.2
System\Web\Services\Protocols\SoapException.cs (4)
293static SoapException CreateSuppressedException(SoapProtocolVersion soapVersion, string message, Exception innerException) { 295soapVersion == SoapProtocolVersion.Soap12 300internal static SoapException Create(SoapProtocolVersion soapVersion, string message, XmlQualifiedName code, 310internal static SoapException Create(SoapProtocolVersion soapVersion, string message, XmlQualifiedName code, Exception innerException) {
System\Web\Services\Protocols\SoapHeader.cs (11)
33internal SoapProtocolVersion version = SoapProtocolVersion.Default; 43get { return version != SoapProtocolVersion.Soap12 && MustUnderstand ? "1" : "0"; } 61get { return version != SoapProtocolVersion.Soap11 && MustUnderstand ? "1" : "0"; } 92get { return version != SoapProtocolVersion.Soap12 ? InternalActor : ""; } 102get { return version != SoapProtocolVersion.Soap11 ? InternalActor : ""; } 129get { return version != SoapProtocolVersion.Soap11 && Relay ? "1" : "0"; } 294SoapProtocolVersion version; 297version = SoapProtocolVersion.Soap12; 301version = SoapProtocolVersion.Soap11; 366header.version = SoapProtocolVersion.Default;
System\Web\Services\Protocols\SoapMessage.cs (3)
219[DefaultValue(SoapProtocolVersion.Default)] 220public virtual SoapProtocolVersion SoapVersion { 221get { return SoapProtocolVersion.Default; }
System\Web\Services\Protocols\SoapServerMessage.cs (1)
74public override SoapProtocolVersion SoapVersion {
System\Web\Services\Protocols\SoapServerProtocol.cs (9)
232SoapProtocolVersion version; 481internal SoapProtocolVersion Version { 590if (version == SoapProtocolVersion.Soap11 && !ContentType.MatchesBase(message.ContentType, helper.HttpContentType)) 610bool checkRequiredHeaders = (this.serverMethod.wsiClaims & WsiProfiles.BasicProfile1_1) != 0 && version != SoapProtocolVersion.Soap12; 697if (serverMethod.rpc && version == SoapProtocolVersion.Soap12) { 704if (isEncoded && version != SoapProtocolVersion.Soap12) // don't write encodingStyle on soap:Body for soap 1.2 730else if (serverMethod != null && serverMethod.rpc && helper.Version == SoapProtocolVersion.Soap12 && e is ArgumentException) 860bool checkEncoding = serverMethod != null && (serverMethod.wsiClaims & WsiProfiles.BasicProfile1_1) != 0 && Version != SoapProtocolVersion.Soap12; 957internal abstract SoapProtocolVersion Version { get; }
System\Web\Services\Protocols\SoapUnknownHeader.cs (2)
33if (version == SoapProtocolVersion.Soap12) { 45else if (version == SoapProtocolVersion.Soap11) {
System\Web\Services\WebService.cs (4)
102public SoapProtocolVersion SoapVersion { 106if (o != null && o is SoapProtocolVersion) 107return (SoapProtocolVersion)o; 109return SoapProtocolVersion.Default;