What should you do?

You write a SOAP extension to monitor a deployed Web service.
You need to deploy the SOAP extension to the Web service without requiring a change to the compiled assemblies.
You cannot use reflection to deploy the SOAP extension.

What should you do?

You write a SOAP extension to monitor a deployed Web service.
You need to deploy the SOAP extension to the Web service without requiring a change to the compiled assemblies.
You cannot use reflection to deploy the SOAP extension.

What should you do?

A.
Extend the SoapExtensionImporter class and reference the class by using the SoapExtensionTypeElement in the Web.config file.

B.
Write a class that extends the SoapExtensionAttribute attribute, has the AttributeTargets.Method attribute applied, and returns an instance of the SOAP extension in the ExtensionType property.

C.
Extend the SoapExtension class. Override the Initialize method to add the SOAP extension to the Web service by using the SoapExtensionReflector class.

D.
Add the SOAP extension to the Web service’s Web service description language (WSDL) by using the WsdlHelpGeneratorElement element in the Web.config file.



Leave a Reply 0

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