Share via


<add> Element for <soapExtensionReflectorTypes> 

Adds a specified SOAP extension reflector class, which extends the service description (WSDL document) generation process for use with a service description format extension (SDFE).

<configuration>   <system.web>      <webServices>         <soapExtensionReflectorTypes>            <add>

<add type="soap extension class" 
     priority="number"
     group="0|1"/>

Required Attributes

Attribute Description

type

Specifies the SOAP extension class to add.

priority

Indicates the relative order in which a SOAP extension reflector runs when multiple SOAP extension reflectors are specified. Within each group, the priority attribute distinguishes the overall relative priority of the SOAP extension reflector. A lower priority number indicates a higher priority for the SOAP extension reflector. The lowest possible value for the priority attribute is 1.

group

Along with priority, specifies the relative order in which a SOAP extension reflector runs when multiple SOAP extension reflectors are configured to run. The possible values are as follows:

  • 0: Indicates that the SOAP extension reflector runs in the group of SOAP extension reflectors with the highest priority.

  • 1: Indicates that the SOAP extension reflector runs in the group of SOAP extension reflectors with the lowest priority.

Example

The following example adds a SOAP extension reflector class.

<configuration>
   <system.web>
      <webServices>
         <soapExtensionReflectorTypes>
            <add type="MyReflector priority="2" group="0"/>
         </soapExtensionReflectorTypes>
      </webServices>
   </system.web>
</configuration>

See Also

Tasks

Walkthrough: Customizing the Generation of Service Descriptions and Proxy Classes

Reference

<webServices> Element
<soapExtensionReflectorTypes> Element
SoapExtensionReflector Class

Other Resources

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