Microsoft
98-363 · Question #70
A Web service contains the following code. You need to expose the method in the Web service. What should you do?
The correct answer is D. Change the class scope from public to web. See the full explanation below for the reasoning.
Question
A Web service contains the following code. You need to expose the method in the Web service. What should you do?
Options
- AChange the method scope from public to web.
- BDecorate the method with the WebMethod attribute.
- CAdd the class to the System.Web namespace.
- DChange the class scope from public to web.
How the community answered
(19 responses)- A5% (1)
- C11% (2)
- D84% (16)
Community Discussion
No community discussion yet for this question.