PrepAway - Latest Free Exam Questions & Answers

What should you do?

You are writing a Web service that will serve multiple client applications.
Some client applications will send billing information as SOAP headers, but you do not know the format of these headers.
You need to handle these SOAP headers so that the billing information is saved for analysis.

What should you do? (Each correct answer presents part of the solution. Choose two.)

PrepAway - Latest Free Exam Questions & Answers

A.
Extend the WebService class and override the SoapVersion property to include the unknown headers.

B.
Extend the SoapUnknownHeader class and add the extended class as a SOAP header to the WebService class.

C.
Add a variable that is an array of the SoapUnknownHeader header to the Web service class.

D.
Add the SoapHeaderAttribute attribute to the methods that are called by the client application with the WebMethodAttribute attribute applied.


Leave a Reply