Sdílet prostřednictvím


<add> Element for <soapExtensionImporterTypes>

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 SOAP extension importer class, which extends the client proxy generation process for use with a service description format extension (SDFE).

Schema Hierarchy

<configuration>
  <system.web>
    <webServices> Element
      <soapExtensionImporterTypes> Element
        <add> Element for <soapExtensionImporterTypes>

Syntax

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

Attributes and Elements

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

Attributes

Attribute Description

type

Required attribute.

Specifies the SOAP extension importer class to add.

priority

Required attribute.

Along with group, specifies the relative order in which a SOAP extension importer runs when multiple SOAP extension importers are configured to run. Within each group, the priority attribute distinguishes the overall relative priority of the SOAP extension importer. A lower priority number indicates a higher priority for the SOAP extension importer. The lowest possible value for the priority attribute is 1.

group

Required attribute.

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

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

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

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.

soapExtensionImporterTypes

Specifies, for Web service clients only, SOAP extension importer classes, which extend the client proxy generation process.

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 a SOAP extension importer class.

<system.web>
   <webServices>
      <soapExtensionImporterTypes>
         <add type="MyImporter priority="2" group="0"/>
      </soapExtensionImporterTypes>
   </webServices>
</system.web>

See Also

Tasks

Walkthrough: Customizing the Generation of Service Descriptions and Proxy Classes

Reference

<webServices> Element
<soapExtensionImporterTypes> Element
SoapExtensionImporter

Other Resources

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