Web service
A web service is a collection of protocols and standards used for exchanging data between applications. Software applications written in various programming languages and running on various platforms can use web services to exchange data over computer networks like the Internet. This interoperability is due to the use of open standards. OASIS and the W3C are the steering committees responsible for the architecture and standardization of web services. To improve interoperability between web service implementations, the WS-I organisation has been developing a series of profiles to further define the standards involved.
| Table of contents |
|
2 Advantages of web services 3 Disadvantages of web services 4 Reasons for creating web services 5 Platforms 6 See also 7 External links |
|
- Web Services Protocol Stack: To reiterate, web services consist of a collection of standards and protocols. This collection is known as the web services protocol stack.
- XML: All data to be exchanged is formatted with XML tags. This encoding can be performed by SOAP or XML-RPC.
- Common protocols: XML data can be transported between applications using common protocols such as HTTP, FTP, and SMTP.
- WSDL: The public interface to the web service is described by Web Services Desciption Language, or WSDL. This is an XML-based service description on how to communicate using the web service.
- UDDI: The web service information is published using this protocol. It enables applications to look up web services information in order to determine whether to use them.
Advantages of web services
Disadvantages of web services
Reasons for creating web services
The main reason why web services are used seems to be that they rely on HTTP over TCP port 80. To understand this, keep in mind that many enterprises have protected themselves (see computer security) by using firewalls that filter and block much Internet traffic for security reasons. In this milieu, typically many (almost all) ports are closed to incoming and outgoing traffic, and the administrators of these firewalls are not eager to open them up. Port 80, however, is always open because it is used for web browsers. Web services tunnel everything through port 80, making the technology very appealing.
Another reason may be that prior to SOAP, there were no really good interfaces to accessing functionality on different computers on a network. Most of them were ad hoc, and few people knew or could handle EDI, RPC, and similar APIss. Web services may have more solid frameworks and would thus be easier to use.
A third reason that web services are useful: They can provide very loose coupling between an application that uses the web service and the web service itself. This should allow either piece to change without negatively affecting the other. This flexibility may become increasingly important as software is built by assembling individual components into a complete application.
Platforms
Web services can be deployed by using application server software. A sample of application servers:
- Axis and the Jakarta Tomcat server (both at the Apache project)
- ColdFusion MX from Macromedia
- Java Web Services Development Pack (JWSDP) from Sun Microsystems (based on Jakarta Tomcat)
- JOnAS (part of the ObjectWeb Open Source initiative)
- Microsoft .NET servers from Microsoft
- Novell exteNd from Novell (based on the J2EE platform)
- WebLogic from BEA Systems
- WebSphere Application Server from IBM (based on the Apache server and the J2EE platform)
See also
External links
- Apache Axis
- Article, "Stop the hype about webservices!"
- Listing of publicly available Web services
- List of Proposals by Microsoft
- Organization for the Advancement of Structured Information Standards
- Some case studies about the impact of WS in actual production environments
- Web Services Activity at World Wide Web Consortium
- XML Protocol Working Group (SOAP)