Microsoft
98-361 · Question #280
98-361 Question #280: Real Exam Question with Answer & Explanation
Sign in or unlock 98-361 to reveal the answer and full explanation for question #280. The question stem and answer options stay visible for context.
Question
You create an ASP.NET Web Service that tracks the shipment of orders. The Web service includes a class nemed StatusService, which contains the following method: Public string GetStatus() { /* additional code here */ } You note that you can instantiate the StatusService class from a Web service client project, but the GetStatus method is not available. What could be the problem?
Options
- AOnly properties can be part of the public interface of a Web service.
- BYou must mark the method with the WebService attribute.
- CThe methods of a Web service can return only object data.
- DYou must mark the method with the WebMethod attribute.
Unlock 98-361 to see the answer
You've previewed enough free 98-361 questions. Unlock 98-361 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.