nerdexam
Microsoft

98-363 · Question #29

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. Add the class to the System.Web namespace. 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?

Exhibit

98-363 question #29 exhibit

Options

  • ADecorate the method with the WebMethod attribute.
  • BChange the method scope from public to web.
  • CChange the class scope from public to web.
  • DAdd the class to the System.Web namespace.

How the community answered

(34 responses)
  • A
    6% (2)
  • B
    12% (4)
  • C
    3% (1)
  • D
    79% (27)

Community Discussion

No community discussion yet for this question.

Full 98-363 Practice