64 references to WebServiceProtocols
System.Web.Services (64)
System\Web\Services\Configuration\ProtocolElement.cs (9)
22
public ProtocolElement(
WebServiceProtocols
protocol) : this()
27
[ConfigurationProperty("name", IsKey = true, DefaultValue =
WebServiceProtocols
.Unknown)]
28
public
WebServiceProtocols
Name
30
get { return (
WebServiceProtocols
)base[this.name]; }
35
value =
WebServiceProtocols
.Unknown;
45
bool IsValidProtocolsValue(
WebServiceProtocols
value)
47
return Enum.IsDefined(typeof(
WebServiceProtocols
), value);
51
readonly ConfigurationProperty name = new ConfigurationProperty("name", typeof(
WebServiceProtocols
),
WebServiceProtocols
.Unknown, ConfigurationPropertyOptions.IsKey);
System\Web\Services\Configuration\ProtocolElementCollection.cs (4)
104
ProtocolElement httpSoap12Element = new ProtocolElement(
WebServiceProtocols
.HttpSoap12);
105
ProtocolElement httpSoapElement = new ProtocolElement(
WebServiceProtocols
.HttpSoap);
106
ProtocolElement httpPostLocalhostElement = new ProtocolElement(
WebServiceProtocols
.HttpPostLocalhost);
107
ProtocolElement documentationElement = new ProtocolElement(
WebServiceProtocols
.Documentation);
System\Web\Services\Configuration\WebServicesSection.cs (29)
118
public
WebServiceProtocols
EnabledProtocols {
120
if (this.enabledProtocols ==
WebServiceProtocols
.Unknown) {
122
if (this.enabledProtocols ==
WebServiceProtocols
.Unknown) {
123
WebServiceProtocols
temp =
WebServiceProtocols
.Unknown;
125
temp |= (
WebServiceProtocols
)element.Name;
259
WebServiceProtocols
enabledProtocols = this.EnabledProtocols;
263
if ((enabledProtocols &
WebServiceProtocols
.HttpSoap) != 0) {
266
if ((enabledProtocols &
WebServiceProtocols
.HttpSoap12) != 0) {
269
if ((enabledProtocols &
WebServiceProtocols
.HttpGet) != 0) {
272
if ((enabledProtocols &
WebServiceProtocols
.HttpPost) != 0) {
290
WebServiceProtocols
enabledProtocols = this.EnabledProtocols;
294
if ((enabledProtocols &
WebServiceProtocols
.HttpSoap) != 0) {
297
if ((enabledProtocols &
WebServiceProtocols
.HttpSoap12) != 0) {
300
if ((enabledProtocols &
WebServiceProtocols
.HttpGet) != 0) {
303
if ((enabledProtocols &
WebServiceProtocols
.HttpPost) != 0) {
336
this.enabledProtocols =
WebServiceProtocols
.Unknown;
355
WebServiceProtocols
enabledProtocols = this.EnabledProtocols;
360
if ((enabledProtocols &
WebServiceProtocols
.AnyHttpSoap) != 0) {
363
if ((enabledProtocols &
WebServiceProtocols
.HttpPost) != 0) {
366
if ((enabledProtocols &
WebServiceProtocols
.HttpPostLocalhost) != 0) {
369
if ((enabledProtocols &
WebServiceProtocols
.HttpGet) != 0) {
372
if ((enabledProtocols &
WebServiceProtocols
.Documentation) != 0) {
444
bool needPost = (this.EnabledProtocols &
WebServiceProtocols
.HttpPost) == 0;
445
bool needGet = (this.EnabledProtocols &
WebServiceProtocols
.HttpGet) == 0;
461
enabledProtocols |=
WebServiceProtocols
.HttpGet |
WebServiceProtocols
.HttpPost;
509
WebServiceProtocols
enabledProtocols =
WebServiceProtocols
.Unknown;
System\Web\Services\Description\ServiceDescriptionReflector.cs (3)
123
WebServiceProtocols
enabledProtocols = WebServicesSection.Current.EnabledProtocols;
124
if ((enabledProtocols &
WebServiceProtocols
.HttpPost) == 0 && (enabledProtocols &
WebServiceProtocols
.HttpPostLocalhost) != 0) {
System\Web\Services\Protocols\Soap11ServerProtocol.cs (2)
32
internal override
WebServiceProtocols
Protocol {
33
get { return
WebServiceProtocols
.HttpSoap; }
System\Web\Services\Protocols\Soap12ServerProtocol.cs (2)
31
internal override
WebServiceProtocols
Protocol {
32
get { return
WebServiceProtocols
.HttpSoap12; }
System\Web\Services\Protocols\SoapServerProtocol.cs (15)
38
internal
WebServiceProtocols
protocolsSupported;
64
public SoapServerType(Type type,
WebServiceProtocols
protocolsSupported) : base(type) {
66
bool soap11 = (protocolsSupported &
WebServiceProtocols
.HttpSoap) != 0;
67
bool soap12 = (protocolsSupported &
WebServiceProtocols
.HttpSoap12) != 0;
233
WebServiceProtocols
protocolsSupported;
435
if (IsSupported(
WebServiceProtocols
.AnyHttpSoap)) {
442
else if (IsSupported(
WebServiceProtocols
.HttpSoap)) {
445
else if (IsSupported(
WebServiceProtocols
.HttpSoap12)) {
450
internal bool IsSupported(
WebServiceProtocols
protocol) {
553
if (IsSupported(
WebServiceProtocols
.HttpSoap))
562
string expectedNamespace = IsSupported(
WebServiceProtocols
.HttpSoap) ? Soap.Namespace : Soap12.Namespace;
737
if (IsSupported(
WebServiceProtocols
.HttpSoap12)) {
835
if (IsSupported(
WebServiceProtocols
.HttpSoap))
837
if (IsSupported(
WebServiceProtocols
.HttpSoap12))
958
internal abstract
WebServiceProtocols
Protocol { get; }