nerdexam
Microsoft

70-513 · Question #257

You are developing a Windows Communication Foundation (WCF) service to replace an existing ASMX Web service. The WCF service contains the following code segment. (Line numbers are included for…

The correct answer is D. Insert the following code at line 19. See the full explanation below for the reasoning.

Question

You are developing a Windows Communication Foundation (WCF) service to replace an existing ASMX Web service. The WCF service contains the following code segment. (Line numbers are included for reference only.) The existing Web service returns the EmployeeID as an attribute of the EmployeeInfo element in the response XML. You need to ensure that applications can consume the service without code changes in the client. What should you do?

Exhibit

70-513 question #257 exhibit

Options

  • AInsert the following code at line 02.
  • BInsert the following code at line 02.
  • CInsert the following code at line 09.
  • DInsert the following code at line 19.

How the community answered

(34 responses)
  • A
    6% (2)
  • B
    3% (1)
  • C
    9% (3)
  • D
    82% (28)

Community Discussion

No community discussion yet for this question.

Full 70-513 Practice