Compartilhar via


<serviceDescriptionFormatExtensionTypes> Element

This topic is specific to a legacy technology. XML Web services and XML Web service clients should now be created using Windows Communication Foundation.

Specifies the service description format extension (SDFE) classes used to extend the WSDL documents generated for Web services. SDFEs provide a means of describing SOAP extensions.

Schema Hierarchy

<configuration>
  <system.web>
    <webServices>
      <serviceDescriptionFormatExtensionTypes> Element

Syntax

<serviceDescriptionFormatExtensionTypes> 
      <add type="" 
          group="0" 
        priority="2"/>
      <remove type="type name"/>
      <clear/>
</serviceDescriptionFormatExtensionTypes>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element Description

add

Adds a specified service description format extension (SDFE) class that defines how to extend the service descriptions (WSDL documents) generated for Web services.

clear

Removes all SDFE classes currently contained in or inherited by the specified Web.config file.

remove

Removes a specified service description format extension (SDFE) class from within the scope of the configuration file. The value of <remove> must exactly match that of a previous <add> directive. Wildcard selections are not supported.

Parent Elements

Element Description

configuration

The root element in every configuration file used by the common language runtime and .NET Framework applications.

System.web

Specifies the root element for the ASP.NET configuration section.

webServices

Controls the settings of Web services deployed using ASP.NET and of Web service clients running on the .NET Framework.

Remarks

The <serviceDescriptionFormatExtensionTypes> element specifies classes derived from the ServiceDescriptionFormatExtension class. Each such class is used in conjunction with a class derived from the SoapExtensionReflector class on the server and a class derived from the SoapExtensionImporter class on the client.

See Also

Tasks

Walkthrough: Customizing the Generation of Service Descriptions and Proxy Classes

Reference

<webServices> Element
XMLFormatExtensionAttribute
ServiceDescriptionFormatExtension

Concepts

SOAP Message Modification Using SOAP Extensions

Other Resources

ASP.NET Settings Schema
XML Web Services Created Using ASP.NET and XML Web Service Clients