Understanding and Using The Web Services Architecture

Page 1

1

Understanding and Using The Web Services Architecture Is¸ık Barıs¸ Fidaner, Bo˘gazic¸i University

Abstract— This is a study about Web Services, what this technology is, how it is used, what problems and possibilities does it bring, and how its problems are solved. In the first part, basic concepts and standards about Web Services are described. These are XML file format, message format SOAP, the HTTP, service description standard WSDL, the registry of services UDDI, workflow standard BPEL, and the REST principles. Second part is about understanding what Web Services are, and main design points for Web Service programming. It starts by a description and a simple core model of Web Services. The roles and layers of the conceptual Web Services programming stack are explained. Some common misconceptions about Web Services are considered. Third and last part is about the problems of using Web Services. Possible business requirements about Web Services are listed, and standards solving them are considered. Then security problems and different solutions such as SSL, TLS, SAML are explained. Then comes the problems concerning application integration. There are both non-technical integration problems about business strategy, and technical problems for the verification of asynchronous interactions in Web Services. There are recent papers proposing solutions to both types of problems. Index Terms— web services, http, xml, soap, wsdl, uddi, bpel, rest.

I. I NTRODUCTION HE INTERNET has become something it never has been. We are connected to every other in a way that has never been in human history. This is a web of information, interaction, but at the same time it is a web of possibilities. Possibilities of friends, collaboration, learning and also a possibility of service providing and consuming. Business-tobusiness (B2B) relations through computer networks have a comparably long history, but a history with a separation of protocols, languages, standards. But The Web is one. With its user and producer-friendliness, HTML became universal, as well as XML that is similar. And a technology of a more connected world is being developed: Web Services. Web Services are simple in theory. Simply put, they are service requesting and providing, by sending and receiving messages of some format. The messages are commonly XML formatted. Most desired features of Web Services are interoperability between different systems, perfect security and quality (as it is for business use), easy interpretation and implementation.

T

II. BASIC C ONCEPTS Before focusing on details of Web Services, let us look at some basic concepts concerning this technology.

A. A human friendly format: XML In Web Services, many message formats are based on Extensible Markup Language (XML). XML is a very generalpurpose markup language that is used in variety of applications. In every XML file, there are entities that are structured as a tree. It is a method of representing information that is both human readable and machine readable. Positive attributes of XML are: • Being both human and machine-readable • Unicode support, thus supporting nearly every human language • The tree structure is very appropriate for computer science abstractions • Names and values are openly written, making it a selfdocumenting format • The format allows efficient parsing And its weaknesses: • Its redundant, unnecessarily long format is a problem for efficient storage and transmission • With the same reason, every XML parser must check a file’s format thoroughly to prevent errors • In XML there is no data type such as int or float, everything must be expressed through strings • The hierarchical model of XML is limited, compared to relational models such as databases. Representing nonhierarchical data in XML is difficult. B. Message format: SOAP Web Services generally use SOAP as a message envelope format. Simple Object Access Protocol (SOAP) is a messaging protocol that is based on Extensible Markup Language (XML) used usually with Hypertext Transfer Protocol (HTTP). The original acronym was dropped with version 1.2 as it was misleading, it became only SOAP. [1] SOAP forms the second layer of Web services protocol stack, more abstract layers build on it. These are, “service description” protocols such as WSDL, and “service discovery protocols” such as UDDI. Most widely used messaging pattern of SOAP is Remote Procedure Call (RPC). In fact, SOAP evolved from XML-RPC that was only capable of RPC messaging. SOAP was designed by Dave Winer, Don Box, Bob Atkinson, and Mohsen Al-Ghosein in 1998. Its specifications are currently maintained by XML Protocol Working Group of W3C. It was intended to be a protocol to allow software applications to interact on the internet or any network.


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.
Understanding and Using The Web Services Architecture by Işık Barış Fidaner - Issuu