PrepAway - Latest Free Exam Questions & Answers

What should you do?

A client application calls a Web service named Math.
Both the client application and Math are configured with a Web Services Enhancements (WSE) 3.0 policy named Secure to validate anonymous access for certificate security.
A Web reference to the Math Web service is added to the client application’s project using Microsoft Visual Studio 2005.
When the client application is built and executed, a SoapException exception is thrown with the following message.
The security requirements are not met because the security headeris not included in the incoming message.
You need to ensure that the application runs without throwing the SoapException exception.

What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Add the following attribute to the Math proxy class definition.
[Microsoft.Web.Services3.Policy(“Secure”)]

B.
Set the Name property for the WebServiceBindingAttribute attribute on the Math proxy class definition to MathWseSoap.

C.
Add the following attribute to the Math proxy class definition.
[Microsoft.Web.Services3.Policy(“anonymousForCertificateSecurity”)]

D.
Modify the Math proxy class so that it derives from the following protocol.
System.Web.Services.Protocols.SoapHttpClientProtocol


Leave a Reply