Website Service – Wikipedia, free encyclopedia

And Web service (in English, web service O web services ) It is a technology that uses a set of protocols and standards that serve to exchange data between applications. Different software applications developed in different programming languages, and executed on any platform, can use web services to exchange data on computer networks such as the Internet. Interoperability is achieved by adopting open standards. Oasis and W3C organizations are the committees responsible for the architecture and regulation of web services.

The W3C defines a web service such as:

A web service is a software system designed to withstand the machine-machine interaction, through a network, interoperable. It has an interface described in a processing format by a computer equipment (specifically in WSDL), through which it is possible to interact with it by exchange of SOAP messages, typically transmitted using XML serialization on HTTP together with other web standards.

To improve interoperability between different web services implementations, the WS-I agency has been created, responsible for developing various profiles to define these standards more exhaustively. It is a machine that addresses the requests of the web clients and sends them the requested resources …

Architecture [ To edit ]

SOAP web services architecture

In the web services architecture there are three parts: Web Services Supplier, which asks for web service and the publicator. The service provider sends a WSDL file to the service publicator with the definition of the web service. The one who asks for the service contacts the publicator and discovers who is the supplier (WSDL protocol) and contact the supplier (SOAP protocol). The provider validates the request for service and sends the structured data in XML format using the SOAP protocol. The XML file is validated again by which the service asks for using an XSD file.

Standards used [ To edit ]

  • Web Services Protocol Stack : Set of services and protocols for web services.
  • XML ( Extensible Markup Language ): Standard format for data to be exchanged.
  • SOAP ( Simple Object Access Protocol ) o XML-RPC ( XML Remote Procedure Call ): Protocols on which the exchange is established.
  • Other protocols: XML data can also be sent from one application to another through normal protocols such as Hypertext Transfer Protocol (HTTP), File Transfer Protocol (FTP), o Simple Mail Transfer Protocol (SMTP).
  • WSDL ( Web Services Description Language ): It is the language of the public interface for web services. It is an XML -based description of the functional requirements necessary to establish communication with web services.
  • UDDI ( Universal Description, Discovery and Integration ): Protocol to publish information on web services. It allows to verify which web services are available.
  • WS-Security ( Web Service Security ): Security protocol accepted as Oasis standard ( Organization for the Advancement of Structured Information Standards ). Guarantees the authentication of the actors and the confidentiality of the messages sent.
  • REST ( Representational State Transfer ): Architectural style, which using the HTTP protocol, provides an API that uses each of its methods (Get, Post, Put, Delete, etc.) to be able to perform different operations between the application offered by the web and customer service.
  • Graphql, alternative architecture to rest.

Advantages of web services [ To edit ]

  • They provide interoperability between software applications regardless of their properties or the platforms on which they are installed.
  • Web services encourage text -based standards and protocols, which make it easier to access their content and understand their operation.
  • They allow services and software of different companies located in different geographical places to be easily combined to provide integrated services.

Disadvantages of Web Services [ To edit ]

  • To perform transactions, they cannot be compared to their degree of development with open computer standards distributed as Corba ( Common Object Request Broker Architecture ).
  • Its performance is low if compared to other distributed computer models, such as Java Remote Method Invocation (RMI), Corba o Distributed Component Object Model (Dcom). It is one of the inconveniences derived from adopting a text -based format. And it is that among the objectives of XML is the conciseness or the efficacy of processing is not found.
  • When relying on HTTP, they can dodge security measures based on firewall whose rules try to block or audit communication between programs on both sides of the barrier.

Reasons for creating web services [ To edit ]

The main reason for using web services is that they can be used with HTTP on Transmission Control Protocol (TCP) in the port of Red 80. since organizations protect their networks through firewalls (They filter and block much of the Internet traffic), almost all TCP ports except 80, which is precisely the one used by web browsers. Web services use this port, for the simple reason that they are not blocked. It is important to note that web services can be used on any protocol, however, TCP is the most common.

Another reason is that, before SOAP existed, there were no good interfaces to access the functionalities of other network computers. Those that were were to this and little known, such as Electronic Data Interchange (Was), Remote Procedure Call (RPC), u Other api.

A third reason why web services are very practical is that they can provide great independence between the application used by the web service and the service itself. In this way, changes over time in one should not affect the other. This flexibility will be increasingly important, since the tendency to build large applications from smaller distributed components is increasingly used.

It is expected that for the next years the quality and amount of services offered based on the new standards will improve.

Platforms [ To edit ]

Application servers for web services:

See also [ To edit ]

References [ To edit ]

external links [ To edit ]