WebServicesSection Class

Controls the behavior of XML Web services and their clients.

Syntax

class WebServicesSection : ConfigurationSectionWithCollection  

Methods

The following table lists the methods exposed by the WebServicesSection class.

Name Description
Add (Inherited from ConfigurationSectionWithCollection.)
Clear (Inherited from ConfigurationSectionWithCollection.)
Get (Inherited from ConfigurationSectionWithCollection.)
GetAllowDefinition (Inherited from ConfigurationSection.)
GetAllowLocation (Inherited from ConfigurationSection.)
Remove (Inherited from ConfigurationSectionWithCollection.)
RevertToParent (Inherited from ConfigurationSection.)
SetAllowDefinition (Inherited from ConfigurationSection.)
SetAllowLocation (Inherited from ConfigurationSection.)

Properties

The following table lists the properties exposed by the WebServicesSection class.

Name Description
ConformanceWarnings A ConformanceWarningSettings value that lists the WS-I (Web Services Interoperability Organization) profiles that are used to validate the Web services. Note: Currently, the only WS-I profile supported in the .NET Framework is Basic Profile Version 1.1 (BasicProfile 1_1).
Diagnostics A DiagnosticsSettings value that specifies whether to return exceptions to the client for debugging.
Location (Inherited from ConfigurationSection.) A key property.
Path (Inherited from ConfigurationSection.) A key property.
Protocols A WebServicesProtocolSettings value that specifies the transmission protocols that ASP.NET can use to decrypt data sent from a client browser in the HTTP request.
SectionInformation (Inherited from ConfigurationSection.)
ServiceDescriptionFormatExtensionTypes A ServiceDescriptionFormatSettings value that specifies the service description format extensions to run in the scope of the configuration file.
SoapEnvelopeProcessing A SoapEnvelopeProcessingInfo value that configures a time-out to help mitigate denial of service attacks.
SoapExtensionImporterTypes A SoapExtensionImporterTypesSettings value that specifies the SOAP extensions to run when a service description for a Web service in the scope of the configuration file is accessed to create a proxy class.
SoapExtensionReflectorTypes A SoapExtensionReflectorTypesSettings value that specifies the SOAP extensions to run when a service description is generated for all Web services in the scope of the configuration file.
SoapExtensionTypes A SoapExtensionTypesInfo value that specifies the SOAP extensions to run with all Web services in the scope of the configuration file.
SoapServerProtocolFactory A SoapServerProtocolFactory value that sets a System.Web.Services.Configuration.TypeElement object that corresponds to the protocol that is used to call the Web service.
SoapTransportImporterTypes A SoapTransportImporterTypesInfo value that contains SoapTransportImporterTypeElement instances that import SOAP transmission protocols into Web services.
WsdlHelpGenerator A WsdlHelpGeneratorInfo value that specifies the Web service Help page (an .aspx file) that is displayed to a browser when the user browses to an .asmx page.

Subclasses

This class contains no subclasses.

Inheritance Hierarchy

ConfigurationSection

ConfigurationSectionWithCollection

WebServicesSection

Requirements

Type Description
Client - IIS 7.0 on Windows Vista
- IIS 7.5 on Windows 7
- IIS 8.0 on Windows 8
- IIS 10.0 on Windows 10
Server - IIS 7.0 on Windows Server 2008
- IIS 7.5 on Windows Server 2008 R2
- IIS 8.0 on Windows Server 2012
- IIS 8.5 on Windows Server 2012 R2
- IIS 10.0 on Windows Server 2016
Product - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
MOF file WebAdministration.mof

See Also

System.Web.Configuration.SystemWebSectionGroup.WebServices
ConfigurationSectionWithCollection Class
ConformanceWarning Class
ConformanceWarningSettings Class
DiagnosticsSettings Class
ServiceDescriptionFormatSettings Class
SoapEnvelopeProcessingInfo Class
SoapExtensionImporterTypesSettings Class
SoapExtensionReflectorTypesSettings Class
SoapExtensionTypesInfo Class
SoapServerProtocolFactory Class
SoapTransportImporterTypeElement Class
SoapTransportImporterTypesInfo Class
TypeElement Class
WebServicesProtocolSettings Class
IIS 7.0: WebServicesSection Class
WsdlHelpGeneratorInfo Class
System.Web.Services.Description.SoapTransportImporter