Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Controls the diagnostics settings for the Microsoft Web Services Enhancements.
<microsoft.web.services3> Element
<diagnostics>
<trace enabled="true|false"
input="File name to trace incoming SOAP messages."
output="File name to trace sent SOAP messages."/>
<detailedErrors enabled="true|false" />
</diagnostics>
None
Element | Description |
---|---|
Optional element. Specifies whether SOAP messages received or sent by WSE are traced. The input and output attributes are optional. If omitted, the default file names are InputTrace.webinfo and OutputTrace.webinfo. |
|
Optional element. Controls the level of detail returned when there is a fault generated from the Web service. |
Element | Description |
---|---|
Controls the configuration options defined by WSE. |
Before adding the <diagnostics> element to a configuration file, you must add the microsoft.web.services3 configuration section handler to the configuration file. For details about adding the microsoft.web.services3 configuration section handler, see <section> Element.
Use the diagnostics options of WSE to troubleshoot problems. For details, see Troubleshooting WSE Applications.
The following code example specifies that tracing is enabled and that detailed error messages are returned by WSE.
<configuration>
<microsoft.web.services3>
<diagnostics>
<trace enabled="true"
input="inputTrace.webinfo"
output="outputTrace.webinfo"/>
</diagnostics>
</microsoft.web.services3>
</configuration>