add

Web Services Basics – part 2

Web Services Fundamentals

Lets talk more about web Services using our fictitious scenario discussed in Web Services -Part1.

Lets recollect all the participating producer and consumer applications ( from now on, i’ll be using the term called Services API  to be apt in this context ) .

Consumer Applications are the one that has minimal logic to frame request ( question)  and process the response ( answer from producer Service API (Acronym for : Application programming interface ).

For example, in our case :

Tourism Planner Brand App(Consumer application )  frames requests for below Producer applications.

a) search a flight , compare flights price , get detailed information for a route of flight , book a flight ticket , make payment etc with various Travel Partners.

b) search availability of suite with personal choice, inquire various pricing plans, booking a suite for days required and choice of food etc with various hotel partners.

c)  check ongoing events , excursions, tours and tourism spots with all the tourism partners.

d) inquire the weather details from weather service partner.

One important aspect here to take a note  is, all the stakeholder applications ( both producer and consumers) are designed with various prototypes, talks with various protocols and formats , written in multiple technologies of their choice and hosted on their on-premise,or hybrid, or full cloud platform of their choice. But still, all the free and value added service api’s are talking to each other by subscribing,invoking each other’s api and finishing up their unit of task , in this case :  complete plan of tour from arrival to stay with less human intervention and accuracy.

Some of the API services where you can look into to have an insight are :

Access current weather data :  Access current weather data for any location on Earth in any expected formats like XML, JSON  or HTML format and also we can choose the right api plan as per your need. Example : check weather api here WeatherMap Api

access location of the client : If a customer wants to book a hotel nearby his location , you can provide list of near by hotels, prices and availability upon by  accessing his current real time geographic locations by consuming the geographic api’s here  google Webservice API.

Below are some of the API’s bundled based on their category :

Google Maps Directions API. Directions between multiple locations.

Google Maps Distance Matrix API. Travel time and distance for multiple destinations.

Google Maps Elevation API. Elevation data for any point in the world.

Google Maps Geocoding API. Convert between addresses and geographic coordinates.

Google Maps Geolocation API. Location data from cell towers and WiFi nodes.

Google Places API Web Service. Up-to-date information about millions of locations.

Google Maps Roads API. Snap-to-road functionality to accurately trace GPS breadcrumbs.

Google Maps Time Zone API. Time zone data for anywhere in the world.

Similarly, there are lot of API’s available over the market which can be searched across the API directory services.

For example : Programmableweb  is one such directory that offers to search the API’s available over market with all the meta-data details of service publishers.

Lets talk more on this in next part web-services-part-3.

Written by Ramesh Metta


Leave a Reply

Your email address will not be published. Required fields are marked *

*
*