You create an XML Web service that calculates taxes. You deploy the service to a production computer named Production. The URL of the production XML Web service is http://Production/WS/TaxCalc.asmx. The service does not support all international tax rates. You want to find out which unsupported tax rates are being requested by users. If a user requests a tax rate that is not supported, the service records the request by using a trace message. You then want to view the unsupported rates that have been requested. Which two actions should you take? (Each correct answer presents part of the solution. Choose two.)
A.
Modify the trace element in the Web.config file of the service by setting the pageOutput attribute to “true”.
B.
Modify the trace element in the Web.config file of the service by setting the enabled attribute to “true”.
C.
To the constructor of the TaxCalc class, add the following code segment:
public TaxCalc() {
InitializeComponent();
Trace.AutoFlush = true;
}
D.
To the constructor of the TaxCalc class, add the following code segment:
public TaxCalc() {
InitializeComponent();
Trace.Flush();
}
E.
View the page at http://Production/WS/TaxCalc.asmx.
F.
View the page at http://Production/WS/Trace.axd.