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

    </section>

  </configSections>

  <system.web>

    <webServices>

      <soapServerProtocolFactory> Element

      </soapServerProtocolFactory>

    </webServices>

    <httpHandlers>

      <add> Element for <httpHandlers>

      </add>

    </httpHandlers>

  </system.web>

  <microsoft.web.services3> Element

    <diagnostics> Element

      <trace> Element

      </trace>

      <detailedErrors> Element

      </detailedErrors>

    </diagnostics>

    <messaging> Element

      <allowRedirectedResponses> Element

      </allowRedirectedResponses>

      <executionTimeoutInSeconds> Element

      </executionTimeout>

      <maxMessageLength> Element

      </maxRequestLength>

      <transports> Element

        <add> Element for <transports>

          <connectionLimit> Element

          </connectionLimit>

          <defaultPort> Element

          </defaultPort>

          <exclusiveAddressUse> Element

          </exclusiveAddressUse>

          <hosts> Element

            <allow> Element

            </allow>

            <deny> Element

            </deny>

          </hosts>

          <idleTimeoutInMilliSeconds> Element

          </idleTimeout>

          <noDelay> Element

          </noDelay>

          <receiveTimeoutInMilliSeconds> Element

          </receiveTimeout>

          <sendTimeoutInMilliSeconds> Element

          </sendTimeout>

        </add>

        <clear> Element for <transports>

        </clear>

        <remove> Element for <transports>

        </remove>

      </transports>

    </messaging>

    <policy> Element

    </policy>

    <referral> Element

      <cache> Element for <referral>

      </cache>

    </referral>

    <security> Element

      <binarySecurityTokenManager> Element

       <add> Element for <binarySecurityTokenManager>

          <keyAlgorithm> Element for <binarySecurityTokenManager>

          </keyAlgorithm>

          <renewalWindowInSeconds> Element

          </renewalWindowInSeconds>

          <sessionKeyAlgorithm> Element

          </sessionKeyAlgorithm>

       </add>

       <clear> Element for <binarySecurityTokenManager>

       </clear>

       <remove> Element for <binarySecurityTokenManager>

       </remove>

        </binarySecurityTokenManager>

      <cryptography> Element

        <encryptionFormatters> Element

          <add> Element for <encryptionFormatters>

          </add>

        </encryptionFormatters>

        <keyExchangeFormatters> Element

          <add> Element for <keyExchangeFormatters>

          </add>

        </keyExchangeFormatters>

        <signatureFormatters> Element

          <add> Element for <signatureFormatters>

          </add>

        </signatureFormatters>

        <keyAlgorithm> Element for <cryptography>

      </cryptography>

      <defaultTtlInSeconds> Element

      </defaultTtlInSeconds>

      <limits> Element

      </limits>

      <securityTokenManager> Element

       <add> Element for <securityTokenManager>

          <cacheLimit> Element

          </cacheLimit>

          <generationLimit> Element

          </generationLimit>

          <keyAlgorithm> Element for <securityTokenManager>

          </keyAlgorithm>

          <label> Element

          </label>

          <offsetLimit> Element

          </offsetLimit>

          <renewalWindowInSeconds> Element

          </renewalWindowInSeconds>

          <replayDetection> Element

          </replayDetection>

       </add>

       <clear> Element for <securityTokenManager>

       </clear>

       <remove> Element for <securityTokenManager>

       </remove>

      </securityTokenManager>

      <timeToleranceInSeconds> Element

      </timeToleranceInSeconds>

      <x509> Element

      </x509>

    </security>

    <tokenIssuer> Element

      <serviceToken> Element

        <KeyInfo> Element

          <SecurityTokenReference> Element

            <KeyIdentifier> Element

            </KeyIdentifier>

          </SecurityTokenReference>

        </KeyInfo>

      </serverToken>

      <statefulSecurityContextToken> Element

      </statefulSecurityContextToken>

      <ttlInSeconds> Element

      </ttlInSeconds>

    </tokenIssuer>

  </microsoft.web.services3>

</configuration>

See Also

Concepts

Policy File Schema