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