- Loose coupling:
A consumer of a web service is not tied to that web service directly.In case of tightly coupled system, the requestor might have to change the interface if changes are made to the provider. A loosely coupled architecture tends to make software systems more manageable and allows simpler integration between different systems.
When major platforms accesses the Web using Web browsers, different platforms couldn't interact. For these platforms to work together, Web-applications were developed.Web-applications are simply applications that run on the web. These are built around the Web browser standards and can be used by any browser on any platform.
- Ability to be synchronous or asynchronous:
In synchronous, the client blocks and waits for the service to complete its operation before continuing. Asynchronous operations allow a client to invoke a service and then execute other functions. Asynchronous clients retrieve their result at a later point in time, while synchronous clients receive their result when the service has completed. Asynchronous capability is a key factor in enabling loosely coupled systems.
- Platform-independence and Operating system-independence:
Web services use XML at many different layers of operation. Use of XML introduces many characteristics like interoperability, platform independence, programming language independence, operating system independence etc. XML is a format used for data exchange and its format is human readable and application understandable. Use of XML makes web services independent of hardware, operating system or programming languages.
An XML document can be easily understood by application written in Java or Visual Basic easily. Thus, you have the freedom to use a web service developed using any programming language from any application regardless of all the above specified factors.
- Supports document exchange:
One of the key advantages of XML is its generic way of representing not only data, but also complex documents. Web services support the transparent exchange of documents to facilitate business integration.
Web Services uses XML at data representation and data transportation layers. Using XML eliminates any networking, operating system, or platform binding.
- Standardized Data Exchange Formats: