<add> Element for <serviceDescriptionFormatExtensionTypes>

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

<add type="service description format extension type"/>

Attributes and Elements

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

Attributes

Attribute Description

type

Required attribute.

Specifies the SDFE class to add.

Child Elements

None.

Parent Elements

Element Description

configuration

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

serviceDescriptionFormatExtensionTypes

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.

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.

Example

The following example adds an SDFE class.

<configuration>
   <system.web>
      <webServices>
         <serviceDescriptionFormatExtensionType>
            <add type=NameOfClass"/>
         </serviceDescriptionFormatExtensionType>
      </webServices>
   </system.web>
</configuration>

See Also

Tasks

Walkthrough: Customizing the Generation of Service Descriptions and Proxy Classes

Reference

<webServices> Element
<serviceDescriptionFormatExtensionTypes> Element
ServiceDescriptionFormatExtension Class

Other Resources

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