Difference between WebServices and API

Few high level points of difference


Webservice   
  • webservice requires network or web to operate. REQ and RES thru network only
  • SOAP, REST , XML RPC
  • All Web services are APIs but all APIs are not Web services.

API
  • API may or maynot require network. It can be as library or web. It can place on system or bind with app
  • SOAP, REST , XML RPC and curl as well on unix
  • API can be form of JAR, DLL etc. which are not on the network and can not be called as web services.


Comments

Popular Posts