Microsoft
70-519 · Question #299
70-519 Question #299: Real Exam Question with Answer & Explanation
Sign in or unlock 70-519 to reveal the answer and full explanation for question #299. The question stem and answer options stay visible for context.
Question
You are developing a WCF service. The service includes an operation names GetProduct. You need to ensure that GetProduct will accept a POST request and will indicate that the returned data is XML. Which two actions should you perform? (Choose 2)
Options
- AAdd the WebGet attribute to the service contract.
- BSet WebOperationContext.Current.OutgoingRequest.
- CAdd the WebInvoke attribute to the service contract.
- DSet WebOperationContext.Current.OutgoingResponse.
Unlock 70-519 to see the answer
You've previewed enough free 70-519 questions. Unlock 70-519 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.