How should you configure an application to consume a Web service?
A.
Add the Web service to the development computer.
B.
Add a reference to the Web service in the application.
C.
Add a reference to the application in the Web service.
D.
Add the Web service code to the application.
Explanation:
Start by adding a Service Reference to the project. Right-click the ConsoleApplication1
project and choose “Add Service Reference”:
B is the the correct answer of which Add a reference to the web service in the application
B: Add Web Service reference to application.