<soapServerProtocolFactory> Element

Enables WSE for all Web services within the scope of the configuration file.

<soapServerProtocolFactory type="Microsoft.Web.Services3.WseProtocolFactory,
           Microsoft.Web.Services3,
           Version=3.0.0.0, 
           Culture=neutral, 
           PublicKeyToken=31bf3856ad364e35" />

Attributes and Elements

Attributes

Attribute Description

type

Required attribute. Must be a WseProtocolFactory.

Child Elements

None.

Parent Elements

Element Description

<webServices>

Controls the settings of Web services deployed using ASP.NET and of Web service clients running on the .NET Framework.

Remarks

The WseProtocolFactory must be added to the Web.config file of a Web service that is using WSE.

Example

The following code example specifies that the WSE runs with a Web application. The type attribute must be on one line.

<configuration>
   <system.web>
        <webServices>
            <soapServerProtocolFactory type="Microsoft.Web.Services3.WseProtocolFactory, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
        </webServices>
   </system.web>
</configuration>

See Also

Tasks

How to: Configure a Web Service to Use WSE

Reference

WseProtocolFactory