How can you generate the client-side proxy classes so that you can use the Web methods?

Correct Answer for the following Question is given below

You are developing an ASP.NET applications that calls Web service to retrieve inventory information. You know the URL of the Web service. You need to invoke the methods of this Web service within your Web application. How can you generate the client-side proxy classes so that you can use the Web methods?

Question:

How can you generate the client-side proxy classes so that you can use the Web methods?

Options:

Use the Web service discovery tool.

Copy the .ASMX file from the Web server to the ASP.NET application project.

Copy the build output from the Web server to the ASP.NET application project.

Set a Web reference to point to the Web service.

Correct Answer

The Correct Answer for this Question is

Set a Web reference to point to the Web service.

Explanation

The Question – How can you generate the client-side proxy classes so that you can use the Web methods? has been answered correctly and answers for the question is Set a Web reference to point to the Web service.

More about these Exams

These Exam Questions and the order of these questions keep changing. but the answers are obviously same. so if you don’t find a question after another we suggest you search it in the search box and we are sure you’ll find it. you can bookmark this site for Quick access in future.

We hope you found it helpful don’t forget to leave a comment if you feel a need to correct or ask we’re always here to help.

you can find more here at mnccertified

Feel free to contact via comment or email.

Happy Learning

Cheers, Team MNCcertified

Leave a Comment