How should you configure an application to consume a Web service?

How should you configure an application to consume a Web service?

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”:



Leave a Reply 2

Your email address will not be published. Required fields are marked *


mandisa

mandisa

B is the the correct answer of which Add a reference to the web service in the application

DB7

DB7

B: Add Web Service reference to application.