Partilhar via


<serviceDescriptionFormatExtensionTypes> Element

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.

<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
ServiceDescriptionFormatExtension Class
XMLFormatExtensionAttribute

Concepts

SOAP Message Modification Using SOAP Extensions

Other Resources

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