I am little bit confused about what really a web service is. You say Amazone web services,etc like that, they offer information. So what is the requirement to be a web url to be
What is a web service
It is many things. In programming, in generally refers to a web page, that can be called from an application (be it another web page, or desktop app), and the caller will pass in data to it, or receive data from it.
In this sense, it's basically like a 'method' or 'function' in a normal programming language; except you're calling it over the internet.
SOAP
A message format. As discussed above, a web service is a basically a 'method' or 'function'. SOAP is the 'instructions' and 'data' to this method. It will outline data types, and possibly a bunch of data as well. It is an XML format.
REST
REST is the means of implementing an interface to your application but, implementing access control, and other such things, specifically with HTTP Response codes. So you will get a 401: Denied (I think that's the right code), if you don't have access. There are other types of response codes that are useful. It also makes use of other HTTP commands like PUT/HEAD/OPTIONS.
Think of Web services as remote APIs (since they are basically just that). You have a method that you want to implement. Let's suppose the method wasn't built by you and resides somewhere else in the world on equipment that you have no control over—how can you go about providing that remote method what it needs in order to get instantiated?
When you find a Web service that you want to include in your application, you must first figure out how to supply the Web service with the parameters it needs in order for it to work. That need also extends a bit further. Even if you know the parameters and types that are required for instantiation, you also need to understand the types that are passed to your application in return. Without these pieces of information, using Web services would prove rather difficult.
Just as there are standard ways to represent data as well as standard ways to move this data over the Internet using Web services, there is a standard way to get a description of the Web service you are interested in consuming. Web Services Description Language (WSDL) is a specification of XML that describes the Web services you are interested in consuming. It's just an interface to describe a web service.
The W3C defines a Web Service as (quoting) :
A Web service is a software system designed to support interoperable machine-to-machine interaction over a network. It has an interface described in a machine-processable format (specifically WSDL). Other systems interact with the Web service in a manner prescribed by its description using SOAP-messages, typically conveyed using HTTP with an XML serialization in conjunction with other Web-related standards.
That definition is maybe a bit too restrictive, considering how that term is used nowadays -- I'd probably go with just the first part of that definition, which is quite generalist :
A Web service is a software system designed to support interoperable machine-to-machine interaction over a network.
Wikipedia also has some interesting definitions, like :
In common usage the term refers to clients and servers that communicate over the Hypertext Transfer Protocol (HTTP) protocol used on the Web.
From what I've seen :
a service offered by an electronic device to another electronic device, communicating with each other via the World Wide Web, or a server running on a computer device, listening how are Web services look like on Cisco packet tracer simulator for requests at a particular port over a network, serving web documents (HTML, JSON, XML, images), and creating[clarification needed] web applications services, which serve in solving specific domain problems over the Web (WWW, Internet, HTTP) https://en.wikipedia.org/wiki/Web_service
HTTP and Web Servers Web Hosting, Web Services http servers , web server https://en.wikipedia.org/wiki/Web_hosting_service https://en.wikipedia.org/wiki/List_of_web_service_protocols JSON-RPC JSON-WSP SOAP - o https://en.wikipedia.org/wiki/List_of_web_service_specifications https://en.wikipedia.org/wiki/List_of_web_service_frameworks What Is The Difference Between Web Services and APIs? https://en.wikipedia.org/wiki/Internet_Information_Services Types of servers File servers. File servers store and distribute files. ... Print servers. Print servers allow for the management and distribution of printing functionality. ... Application servers. ... Web servers. ... Database servers. ... Virtual servers. ... Proxy servers. ... Monitoring and management servers.
Server - Definition and details - Paessler AG
A Web-Service can be considered as a set of methods that enables communication amongst applications irrespective of the application's coding language or framework.
http://acharyashri.com/blog/WebServices.html