A web service allows computers to communicate over the web using HTTP and other protocols. It exposes web methods that can be invoked remotely through HTTP requests. Web services use SOAP, HTTP, and other standards to define an interface and exchange data over the web. An example .NET web service demonstrates how web methods are declared and can be tested by calling the service URL in a browser to invoke methods and view response XML.