Web Service

A web service is an application or data source that is accessible via a standard web protocol (HTTP or HTTPS). Unlike web applications, web services are designed to communicate with other programs, rather than directly with users.

While web services can provide data in a number of different formats, XML and JSON are the most common. These standard text-based formats can be easily recognized and parsed by another program that receives the data. The most common web service protocol – SOAP (Simple Object Access Protocol) – simply adds a header to each XML message before it is transferred over HTTP.

Business-oriented web services may use a standard called UDDI. This formats data in a specific type of XML known as the Web Services Description Language, or WSDL. While UDDI transmits .WSDL files instead of standard .XML files, it may still use the SOAP protocol to transfer data.

Most web services provide an API, or a set of functions and commands, that can be used to access the data. For example, Twitter provides an API that allows developers to access tweets from the service and receive the data in JSON format. Yelp provides an API for programmers to access information about businesses, which can be displayed directly in an app or website. Google Maps provides an API for receiving geographical data and directions from the Google Maps database.

NOTE: An API is a specific set of commands and guidelines used for accessing data, while a web service is an actual service provided by an Internet-based source.

Updated August 10, 2017 by Per C.

quizTest Your Knowledge

Which of the following standards was superseded by HTML5?

A
VRML
0%
B
XAML
0%
C
XHTML
0%
D
XML
0%
Correct! Incorrect!     View the XHTML definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Web Service on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.