Sunday, August 13, 2017

What is Web Service-API?

Web service is standard way to create communication between client and server application over internet. It is way of communication between two stand alone application to share information among them irrespective of their architecture and framework



In above  diagram there is Client and Web service . Web services sends request to client to get required information and client sends appropriate response to web service with requested information.


Another example to understand in simple web service . Suppose you have a website where you wish to show weather report in your website but instead of developing everything you can use a data from existing website where weather forecast is already developed. Now you can use that weather data using API in your website.

I would like to tell another simple real time example for webservice here. Suppose you went to Hotel and there is kitchen now here there is a mediator who takes your order and pass it to kitchen to prepare food and once food is prepared mediator takes your ordered food from kitchen to you. In this scene Mediator plays role of API - Webservice.


Related Posts:

  • There are a number of web services that use markup languages There are a number of web services that use markup languages. For testing purpose and for our this  "Api Testing step by step tutorial"   We are going to use only REST.  1.1.JSON-RPC2.JSON-WSP3.… Read More
  • How API -Web service works  How API works  Before to start working on API testing we need to understand with example HOW API  /WEBSERVICE WORKS ?  Have a look on below diagram you will understand HOW API / Webservice… Read More
  • list of web service protocol Below is the list of web service protocol     1-BEEP - Blocks Extensible Exchange Protocol     2-E-Business XML     3-Hessian     4-JSON-RPC    … Read More
  • What is RESTful web services What is RESTful web services RESTful web services are built to work best on the Web. Representational State Transfer (REST) is an architectural style used for the same . In the REST architectural style, data and functi… Read More
  • What is Web Service -API What is Web Service-API? Web service is standard way to create communication between client and server application over internet. It is way of communication between two stand alone application to share information among th… Read More

0 comments:

Post a Comment

Popular Posts