What is difference between Web API and Web Service

Rashmi
Rashmi
Member
90 Points
25 Posts

Hi,

What is difference between Web API and Web Service?

Views: 8167
Total Answered: 1
Total Marked As Answer: 0
Posted On: 25-Oct-2015 07:44

Share:   fb twitter linkedin
Answers
NiceOne Team
NiceOne...
Admin
404 Points
67 Posts
         

Hi, Rashmi,

Following are the main differences:

  • A web service uses SOAP protocol while Web API uses HTTP protocol.
  • A web service provice WSDL and can create client proxy automatically while web api does not provide any WSDL or documentation for implementation on client.
  • A Web API resonse can be either JSON or XML or csv.
Posted On: 31-Oct-2015 09:43
 Log In to Chat