What are Web Services and How are they used

by Emanuela Hedrick.

Share
|
Homepage | Submit your article | Contact | TOS
More articles on web services  

You are here: Categories » Internet » Web services

Web services are a collection of protocols that are used to exchange data between disparate applications or systems. The essence of web services is the open standards on which they are built, by leveraging public and common protocols like HTTP, along with the XML document model. Web services are easy to implement with existing technologies. Not only are you (as a PHP developer) already familiar with many aspects of web services and the tools required, but you already have the facilities required to deploy them.

Why They Are Used

Simply put, web services allow information to easily pass from those who have it to those who desire it. Both feeds and APIs allow the requestor to obtain information from the service, regardless of the information type. Web services allow customers to access the information they desire, without the extraneous information generally presented on web pages. For example, running a search for a book on Amazon.com will yield several relevant results, generally (under the current layout) in the center column of the page. The right and left columns will contain other information, not directly related to your search (recommended titles, recently viewed items, and so on). Performing the same search via the API will yield the same results, but without that extraneous information.

Note

This points to a key factor in web services — they are used to obtain specific information, or complete specific tasks. Unlike people, the automated processes that utilize web services don't make impulse decisions (like choosing a recommended title from Amazon), so there is no point in presenting them with those types of options.

How They Are Used

Web services generally present information already available via another method (that is, a website). The advantage in the services is the consistent presentation of the information (in stark contrast to methods like screen scraping) in an easy-to-parse format. Here are some examples:

  • Federal Express — Allows customers to do rate lookups and schedule shipments after logging into its online system. These same tasks can be accomplished via its API; as such, customers with larger shipping needs can integrate the API with their own systems to quickly automate shipping, and allow customers to determine how much it will cost to ship a particular product.

  • Amazon — Allows customers to search for products via its website, and similar tasks can be accomplished via its API (often with more granularity than the traditional web interface provides). Using the API allows small booksellers to transparently integrate with Amazon to offer additional books and apply their own pricing.

  • My Personal Blog — Allows people to read my thoughts on various professional matters. The feeds provided by my blog allow those people to read the posts on their own terms, within their own client, without ads or cute pictures of my cat.

It's important to recognize both types of interaction presented here. In some cases the web service is accessed directly by the end user (as is often the case with blogs and feeds). In other cases the service is consumed by an intermediate service, then presented (through various means) to its users.

Who Uses Them

If you accept my broad definition of web services, including both feeds and APIs, the answer is almost everyone. Most news sites offer at least some of their information via an XML feed. Blog sites almost without exception include some form of feed, and APIs are becoming more prevalent offerings from businesses of all sizes.

Also keep in mind that the scope of web services varies widely depending on who offers them. Many are merely informational in nature (such as the National Weather Service API), providing read-only access to information. Others, however, allow you to present information to the server; this could be purely digital in nature (such as adding a bookmark to your del.icio.us account), or it could set into motion a series of physical events (like scheduling a package pickup through FedEx).

Leave a comment or ask a question
Total comments: 0

Web services Disclaimer

  • The e-articles directory is not responsible for any and all copyright infringements by writers and authors. If you suspect the information contained by this page for any copyright infringements, please contact us to investigate the issue
Go Green web hosting: environment friendly hosting solution - Have you ever though of an eco friendly web hosting solution? Internet also has its negative share in harming the environment Internet is no illusion where things happen. We usually blame emissions (more...)
Domain registration process - Why do you need to register your domain? Well the answer to this question is pretty simple. If you are an online marketer you need to have a website. Without a domain name registration you cannot h (more...)
How to Know If It is the Time to Migrate to a Dedicated Web Hosting Server - When you embark on a web project, it is relatively difficult for you to guess its success, so it is common to begin with a shared hosting package. A shared web hosting service may have been operati (more...)
Netwave Interactive Launches Social Networking Department - Social Networking has exploded amongst web surfers and Netwave Interactive joins full speed with its new social networking department. Priding ourselves on being at the forefront of the industry's (more...)
The Naked Truth About Pay Per Click Advertising - In this article, I am going to address one of the biggest fears that people have about pay per click (ppc) advertising. We know that there are many programs which promises huge profits but some of (more...)
DotNetNuke Hosting :: Popular CMS For Dot Net Market - DotNetNuke is the most popular Content Management System (CMS) for the.NET market. It is used on millions of websites and by tens of thousands of companies all around the world. But what makes this (more...)
Sharepoint Hosting Usability - First, let's see what SharePoint is and how it can help you. SharePoint is basically an enterprise information portal, developed by Microsoft. It can be easily be configured to run Internet, Intran (more...)
Silverlight Hosting :: Silverlight Vs Flash - Which is better, Silverlight or Flash? If you are still deciding between Silverlight hosting and Flash hosting, perhaps this article will help you take a decision. First, let's see what Silverlight (more...)
Sitefinity Hosting:The Most Flexible CMS Platform - If you are considering SiteFinity hosting, you should first learn a few things about it. If you are trying to decide between it and DotNetNuke, you should read this article. SiteFinity is a very fl (more...)
SQL Server Hosting :: MSSQL Vs MySQL - I know it is hard to decide between SQL Server Hosting and MySQL hosting. Which is better? Which is more reliable? Which offers more features? These are just a few questions when it comes to SQL Se (more...)

 
free content
    Copyright © 2006 - 2012 e-articles.info.
The texts, articles and tutorials in the directory are property of their respective owners and authors.