Which XML segment should you add to the system.serviceModel/diagnostics/messageLogging/filters configuration element?

A Windows Communication Foundation (WCF) service has the following contract. This is
one of several service contracts hosted by your application. All endpoints use SOAP 1.2
bindings with WS-Addressing 1.0. The System.ServiceModel.MessageLogging trace source
in the system.diagnostics configuration section is configured with one listener. You need to
make sure that only the messages that are returned from the DoWork operation are logged.
Which XML segment should you add to the
system.serviceModel/diagnostics/messageLogging/filters configuration element?

A Windows Communication Foundation (WCF) service has the following contract. This is
one of several service contracts hosted by your application. All endpoints use SOAP 1.2
bindings with WS-Addressing 1.0. The System.ServiceModel.MessageLogging trace source
in the system.diagnostics configuration section is configured with one listener. You need to
make sure that only the messages that are returned from the DoWork operation are logged.
Which XML segment should you add to the
system.serviceModel/diagnostics/messageLogging/filters configuration element?

A.
<add xmlns:soap«”http://www.w3.org/2003/05/soap-envelope”> //soap:Action[text() =
1http://contoso.com/I3hipping/DoWork’] </add>

B.
odd xmlns:soap=”http://www.u3.org/2003/05/soap-envelope”> //soap:Action[text() =
‘http://contoso.com/I5hipping/DoWorkResponse’] </add>

C.
<odd xmlns:addr-“http://vww.w3.org/2005/08/addressing”> //addr:Action[text() –
‘http://contoso.com/IShipping/DoWorkResponse’ ] </add>

D.
<add xmlns:addr=”http://www.w3.org/2005/Q8/addressing”> //addr:Action[text() =
‘http://contoso.com/IShipping/DoUork’ ] </add>



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Bhavna

Bhavna

The answer is “C”