What should you do?

You are creating an XML Web service named StockService. The service contains a Web method named RetrieveStockInfo. RetrieveStockInfo takes as input a stock symbol and returns a DataSet object that contains information about that stock. You want to capture all incoming SOAP messages in RetrieveStockInfo and write the messages to a file for future processing. What should you do?

You are creating an XML Web service named StockService. The service contains a Web method named RetrieveStockInfo. RetrieveStockInfo takes as input a stock symbol and returns a DataSet object that contains information about that stock. You want to capture all incoming SOAP messages in RetrieveStockInfo and write the messages to a file for future processing. What should you do?

A.
Enable sessions in RetrieveStockInfo.

B.
Create a SOAP extension for RetrieveStockInfo.

C.
Apply a SoapHeader attribute to RetrieveStockInfo.

D.
Apply a SoapRpcMethod attribute to RetrieveStockInfo.



Leave a Reply 0

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