Practice Questions

Question 1Which of the following is the best description of the general purpose of SOAP?
  • A. SOAP is used to automatically discover the properties and methods of a Web Service.

  • B. SOAP is used to create a proxy class for a Web Service.

  • C. SOAP is used to encapsulate objects as XML messages.

  • D. SOAP is used to clean data before it is consumed by a Web Service.

A1: Answer C is correct. SOAP is used to encapsulate objects as XML messages so that their properties and methods can be transferred over a network using protocols such as HTTP, FTP, or SMTP. Answer A is incorrect because SOAP is used to translate the properties and methods of an object into XML, and it cannot directly perform discovery of Web Services and their properties. ...

Get Developing and Implementing Windows®-Based Applications with Visual C#™ .NET and Visual Studio® .NET Exam Cram™ 2 (Exam 70-316) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.