Share via


<output> Element

Specifies the custom filters applied to SOAP messages sent by WSE.

<microsoft.web.services2> Element
  <filters> Element

<output>
  <add type="CustomFilter,CustomFilterAssembly" />
</output>

Attributes and Elements

Attributes

None

Child Elements

Attribute Description

<add> Element for <output>

Required element. Adds a custom filter for sent SOAP messages.

Parent Elements

Element Description

<filters> Element

Controls the custom filters applied to SOAP messages sent and received by WSE applications.

Remarks

Before adding the <output> element to a configuration file, you must add the microsoft.web.services2 configuration section handler to the configuration file. For details about adding the microsoft.web.services2 configuration section handler, see <section> Element (WSE for Microsoft .NET).

Example

The following code example specifies that the custom filter CustomFilter runs when SOAP messages are sent.

<configuration>
  <microsoft.web.services2>
    <filters>
      <output>
            <add type="CustomFilter,CustomFilterAssembly" />
      </output>
    </filters>
  </microsoft.web.services2>
</configuration>

See Also

Reference

<filters> Element
<add> Element for <output>