Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This topic is specific to a legacy technology. XML Web services and XML Web service clients should now be created using Windows Communication Foundation.
Adds a specified service description format extension (SDFE) class that defines how to extend the service descriptions (WSDL documents) generated for Web services.
Schema Hierarchy
<configuration>
<system.web>
<webServices> Element
<serviceDescriptionFormatExtensionTypes> Element
<add> Element for <serviceDescriptionFormatExtensionTypes>
Syntax
<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
Other Resources
ASP.NET Settings Schema
XML Web Services Created Using ASP.NET and XML Web Service Clients