What should you do?

You write a Web service that processes multiple SOAP headers, including one named HeaderA.
You examine the HTTP log and find that an unknown SOAP header is included in the client application requests.
Your Web service must process all headers.
You need to indicate to the client application that the unknown SOAP header is unexpected.

What should you do?

You write a Web service that processes multiple SOAP headers, including one named HeaderA.
You examine the HTTP log and find that an unknown SOAP header is included in the client application requests.
Your Web service must process all headers.
You need to indicate to the client application that the unknown SOAP header is unexpected.

What should you do?

A.
Check the MustUnderstand property of the unknown SOAP header.
If the property value is set to True, throw a SoapHeaderException exception.

B.
Check the DidUnderstand property of the unknown SOAP header.
If the property value is set to True, throw a SoapHeaderException exception.

C.
Set the MustUnderstand property of the unknown SOAP header to False.

D.
Set the DidUnderstand property of the unknown SOAP header to False.



Leave a Reply 0

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