asp.net.ph

Skip Navigation Links

<webServices> Section

ASP.NET Syntax   ASP.NET Configuration Sections


Controls the settings of ASP.NET Web Services.

Syntax Example

The following example specifies Web Service configuration settings.

<configuration>
   <system.web>
      <webServices>
         <protocolTypes>
            <add type = "System.Web.Services.
               Protocols.SoapServerProtocol" />
            <add type = "System.Web.Services.
               Protocols.HttpServerProtocol" />
            <add type = "System.Web.Services.
               Protocols.DiscoveryServerProtocol" />
         </protocolTypes>
         <returnWriterTypes>
            <add type = "System.Web.Services.Protocols.XmlReturnWriter" />
         </returnWriterTypes>
         <parameterReaderTypes>
            <add type = "System.Web.Services.
               Protocols.HtmlFormParameterReader" />
            <add type = "System.Web.Services.
               Protocols.UrlParameterReader" />
         </parameterReaderTypes>
         <protocolReflectorTypes>
            <add type = "System.Web.Services.
               Description.SoapProtocolInfoReflector" />
            <add type = "System.Web.Services.
               Description.HttpPostProtocolInfoReflector" />
            <add type = "System.Web.Services.
               Description.HttpGetProtocolInfoReflector" />
         </protocolReflectorTypes>
         <mimeReflectorTypes>
            <add type = "System.Web.Services.
               Description.XmlMimeInfoReflector" />
            <add type = "System.Web.Services.
               Description.FormInfoReflector" />
         </mimeReflectorTypes>
         <protocolImporterTypes>
            <add type = "System.Web.Services.
               Description.SoapProtocolInfoImporter" />
            <add type = "System.Web.Services.
               Description.HttpPostProtocolInfoImporter" />
            <add type = "System.Web.Services.
               Description.HttpGetProtocolInfoImporter" />
         </protocolImporterTypes>
         <mimeImporterTypes>
            <add type = "System.Web.Services.
               Description.XmlMimeInfoImporter" />
            <add type = "System.Web.Services.
               Description.FormInfoImporter" />
         </mimeImporterTypes>
         <protocolInfoTypes>
            <add type = "System.Web.Services.
               Description.SoapProtocolInfo" />
            <add type = "System.Web.Services.
               Description.HttpGetProtocolInfo" />
            <add type = "System.Web.Services.
               Description.HttpPostProtocolInfo" />
         </protocolInfoTypes>
         <mimeInfoTypes>
            <add type = "System.Web.Services.Description.HtmlFormInfo" />
            <add type = "System.Web.Services.Description.XmlMimeInfo" />
            <add type = "System.Web.Services.Description.AnyMimeInfo" />
         </mimeInfoTypes>
         <referenceResolverTypes>
            <add type = "System.Web.Services.
               Discovery.DiscoveryResolver" />
            <add type = "System.Web.Services.Discovery.ServiceResolver" />
            <add type = "System.Web.Services.Discovery.SchemaResolver" />
         </referenceResolverTypes>
         <discoverySearchPatternTypes>
            <add type = "System.Web.Services.
               Discovery.ServiceSearchPattern" />
         </discoverySearchPatternTypes>
         <soapExtensionTypes>
         </soapExtensionTypes>
         <soapExtensionReflectorTypes>
         </soapExtensionReflectorTypes>
         <soapExtensionImporterTypes>
         </soapExtensionImporterTypes>
         <sdlHelpGenerator href = "DefaultSdlHelpGenerator.aspx" />
      </webServices>
   <system.web>
</configuration>
See Also

ASP.NET Configuration



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note