quinta-feira, 22 de dezembro de 2016

Introduction to tecnologies Web Services: SOA, SOAP, WSDL and UDDI - Part I

In the year 2000, the World Wide Web Consortium (W3C) accepted the submission of the Simple Object Access Protocol (SOAP). This XML-based message format has established a transmission structure for communication among applications (or among services) via HTTP. As a vendor-free technology, SOAP has provided an attractive alternative over traditional proprietary protocols such as CORBA and DCOM.

During the following year, the W3C published the WSDL specification. A new XML implementation, this standard provided a language for describing the web services interface. Subsequently supplemented by the Universal Description, Discovery and Integration (UDDI) specification, which provided a standard mechanism for dynamic discovery (dynamic discovery) of service descriptions, the first generation of the Web services platform was established.

The concept of services in an application has been around for some time. Services, as well as components, are considered independent building blocks, which collectively represent an application environment. However, unlike traditional components, services have some unique features that allow them to participate as part of a service-oriented architecture.

One of these characteristics is the complete autonomy in relation to other services. This means that each service is responsible for its own domain, which typically means limiting its scope to a specific business function (or group of related functions).

This design approach results in the creation of isolated units of business features weakly linked to each other. This is possible because of the definition of a standard communication structure. Because of the independence these services enjoy within this framework, the programming logic they encapsulate need not obey any other platform or set of technologies.

XML Web services

The most widely accepted and successful type of service is the XML Web service, which will henceforth be called Web Service only, or simply service. This type of service has two fundamental requirements:

  • Communicates via internet protocols (usually HTTP);  and
  • Sends and receives data formatted as XML documents.


The widespread acceptance of web service has resulted in the emergence of a set of supplementary technologies that have become a standard. So when developing web services, the use of technologies must consider:

  • Provide a service description that, at a minimum, consists of a WSDL document; and 
  • Be able to carry XML documents using SOAP over HTTP.


These technologies do not modify the core functionality of a web service, much as it does its ability to represent and communicate in a standard mode. Many of the architecture conventions expressed in this article assume that SOAP and WSDL are part of the described web services framework.

In addition, it is normal for a Web service to be:

  • Able to act as the requester and provider of a service;
  • Registered with a discovery agent through which they can be located.

In a typical conversation with a web service, the request initiator client is a web service as well. Any interface exposed by this client service also qualifies it as a service from which other services may request information. That said, web services do not fit into the classic client-server model. In fact, they tend to establish a point-to-point system, where each service can act as client or server.

Nenhum comentário:

Postar um comentário