Share via


Configuration File Schema

Following is the list of elements that can be placed in a configuration file for applications that use the Web Services Enhancements for Microsoft .NET (WSE). Elements defined or used by WSE have links associated with them.

<configuration>

  <configSections>

    <section> Element (WSE for Microsoft .NET)

  </configSections>

  <system.web>

    <webServices>

      <soapExtensionTypes>

      <add> Element for <soapExtensionTypes> (WSE for Microsoft .NET)

      </soapExtensionTypes>

    </webServices>

    <httpHandlers>

     <add> Element for <httpHandlers> (WSE for Microsoft .NET)

    </httpHandlers>

  </system.web>

  <microsoft.web.services2> Element

    <filters> Element

      <input> Element

        <add> Element for <input>

      </input>

      <output> Element

        <add> Element for <output>

      </output>

    </filters>

    <diagnostics> Element

      <trace> Element (WSE for Microsoft .NET)

      <policyTrace> Element

      <detailedErrors> Element

    </diagnostics>

    <messaging> Element

      <allowRedirectedResponses> Element

      <executionTimeout> Element

      <maxRequestLength> Element

      <transports> Element

        <clear> Element

        <add> Element for <transports>

          <connectionLimit> Element

          <defaultPort> Element

          <exclusiveAddressUse> Element

          <hosts> Element

            <allow> Element

          <deny> Element

          </hosts>

          <idleTimeout> Element

          <noDelay> Element

          <receiveTimeout> Element

          <sendTimeout> Element

        </add>

        <remove> Element (WSE for Microsoft .NET)

      </transports>

    </messaging>

    <referral> Element

      <cache> Element for <referral>

    </referral>

    <policy> Element (WSE for Microsoft .NET) (2)

      <cache> Element for <policy>

      <assertion> Element

    </policy>

    <security> Element

      <x509> Element

      <binarySecurityTokenManager> Element

        <keyAlgorithm> Element for <binarySecurityTokenManager>

        <sessionKeyAlgorithm> Element

      </binarySecurityTokenManager>

      <securityTokenManager> Element

        <label> Element

        <replayDetection> Element

        <cacheLimit> Element

      </securityTokenManager>

      <defaultTtlInSeconds> Element

      <timeToleranceInSeconds> Element

      <limits> Element

    </security>

    <tokenIssuer> Element (WSE for Microsoft .NET) (2)

      <autoIssueSecurityContextToken> Element

      <ttlInSeconds> Element

      <serverToken> Element

        <KeyInfo> Element (WSE for Microsoft .NET) (2)

          <SecurityTokenReference> Element (WSE for Microsoft .NET) (2)

            <KeyIdentifier> Element (WSE for Microsoft .NET) (2)

          </SecurityTokenReference>

        </KeyInfo>

      </serverToken>

    </tokenIssuer>

  </microsoft.web.services2>

</configuration>

See Also

Concepts

Policy File Schema