Need of Web Services
There are many advantages of using web services. The main advantage over a regular HTTP application is that it uses SOAP messaging which is much more efficient and less bandwidth costly.
Another advantage is that Service Transport, XML Messaging, Service Description, and Service Discovery layers use a standard protocol which makes it easy for developers to develop functionality irrespective of programming languages.
Suppose you are a provider of a service, say weather forecast. Why make developers, go to your website, scrap your page and then extract the data that they need? Wouldn't it be easier to develop this by web service that a developer can pass in a date and get back a well defined XML document containing all the info they need? The same happens for all type of cases...
We use web services because:
- Exposing the existing function on to network:
- A Web service is a unit of managed code that can be remotely invoked using HTTP, that is, it can be activated using HTTP requests. So, Web Services allows you to expose the functionality of your existing code over the network. Once it is exposed on the network, other application can use the functionality of your program
- Connecting Different Applications ie Interoperability:
- Web Services allows different applications to talk to each other and share data and services among themselves. Other applications can also use the services of web services. For example, VB or .NET application can talk to java web services and vice versa. So, Web services are used to make the application platform and technology independent.
- Standardized Protocol:
- Web Services uses a standardized industry standard protocol for communication. All four layers (Service Transport, XML Messaging, Service Description, and Service Discovery layers) uses the well-defined protocol in the Web Services protocol stack. This standardization of protocol stack gives the business many advantages like a wide range of choices, reduction in the cost due to competition and an increase in the quality.
- Low Cost of communication:
- Web Services uses SOAP over HTTP protocol for the communication so you can use your existing low-cost internet for implementing Web Services. This solution is much less costly compared to proprietary solutions like EDI/B2B. Beside SOAP over HTTP, Web Services can also be implemented on other reliable transport mechanisms like FTP etc.
Comments
Post a Comment