4.2.3 Activity Trace Emitted for Reply Sent at the Server

The following is a sample trace generated at the server end when sending a response message. The ActivityId attribute associated with the XML element <Correlation> is the same as specified in the message samples discussed earlier ("43ffa660-a0c6-4249-bb36-648b73a06213"). The SOAP ActivityId Header Block associated with the response message is also part of the trace. Other parts of the sample trace will not be discussed and are not relevant to this example.

 <E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
   <System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system">
     <EventID>262164</EventID>
     <Type>3</Type>
     <SubType Name="Information">0</SubType>
     <Level>8</Level>
     <TimeCreated SystemTime="2008-02-08T17:23:57.6775381Z" />
     <Source Name="System.ServiceModel" />
     <Correlation ActivityID="{43ffa660-a0c6-4249-bb36-648b73a06213}" />
     <Execution ProcessName="w3wp" ProcessID="6720" ThreadID="5" />
     <Channel/>
     <Computer>MACHINE1</Computer>
   </System>
   <ApplicationData>
     <TraceData>
       <DataItem>
         <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Information">
           <TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Channels.MessageSent.aspx</TraceIdentifier>
           <Description>Sent a message over a channel.</Description>
           <AppDomain>/LM/W3SVC/1/Root/MySample-1-128469650342401041</AppDomain>
           <Source>System.ServiceModel.Channels.HttpOutput+HostedRequestHttpOutput/59884855</Source>
           <ExtendedData xmlns="http://schemas.microsoft.com/2006/08/ServiceModel/MessageTraceRecord">
             <MessageProperties>
               <Encoder>text/xml; charset=utf-8</Encoder>
               <AllowOutputBatching>False</AllowOutputBatching>
             </MessageProperties>
             <MessageHeaders>
               <ActivityId CorrelationId="b898336e-d4e2-4eb7-a2c7-1e23f4630646" xmlns="http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics">43ffa660-a0c6-4249-bb36-648b73a06213</ActivityId>
             </MessageHeaders>
           </ExtendedData>
         </TraceRecord>
       </DataItem>
     </TraceData>
   </ApplicationData>
 </E2ETraceEvent>