<add> Element for <soapExtensionTypes> (WSE for Microsoft .NET)
Adds a SOAP extension to run with all XML Web services within the scope of the configuration file.
<add type="Microsoft.Web.Services2.WebServicesExtension,
Microsoft.Web.Services2,
Version=2.0.0.0,
Culture=neutral,
PublicKeyToken=31bf3856ad364e35"
priority="1"
group="0"/>
Attributes and Elements
Attributes
Attribute | Description |
---|---|
Type |
Required attribute. Must be a WebServicesExtension. |
Child Elements
None.
Parent Elements
Element | Description |
---|---|
<soapExtensionTypes> |
Specifies the SOAP extensions to run with all XML Web services within the scope of the configuration file. |
Remarks
The WebServicesExtension must be added to the Web.config file of an XML Web service that is using WSE over HTTP or HTTPS.
Example
The following code example specifies that the WebServicesExtension runs with a Web application. The type attribute must be on one line.
<configuration>
<system.web>
<webServices>
<soapExtensionTypes>
<add type="Microsoft.Web.Services2.WebServicesExtension, Microsoft.Web.Services2,Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
priority="1" group="0"/>
</soapExtensionTypes>
</webServices>
</system.web>
</configuration>