Answer:
The protocols are normally used in .Net Web Service for communication purposes. A web service can bind with three different protocols such as Http-Get, Http-Post, and SOAP. These protocols are included in the WSDL file that is automatically generated in .NET application.
It is preferable to use Http-Get and Http-Post only when name/value pairs of data is avilable. But if the data is complex in nature that is XML notes, dataset etc, then we can use SOAP which helps to serialize data in simpler form.
Asked In: Many Interviews |
Alert Moderator