JustPaste.it

Types of Web Services

Types of Web Service:-

There are mainly 2 types of Web Services:-

  1. SOAP Web Services
  2. RESTful Web Services

    1. SOAP Web Services - SOAP Stands for Simple Object Access Protocol. These Protocols are based on XML which is a lightweight data Exchange Language.  These Protocols are independent of language and can be run on any platform. By using SOAP, We will be able to interact with other programming language applications. SOAP is  for communication between two applications.

    2.
    RESTful Web Services - RESTful Stands for Representational State Transfer. They are also language and platform - independent and are faster in comparison to SOAP. Nowadays RESTful web services are more used than SOAP. They treat the data as resources. RESTful web Services return data in JSON format or XML format. REST is an architectural style not a protocol.

Components of Web Services :-

 There are Three major Components of  Web Services :-

  1. SOAP
  2. WSDL
  3. UDDI

    1. Soap :-
  •       SOAP Stands for Simple Object Access Protocol.
  •       W3C recommendation for communication between applications.
  •       XML – based convention for getting to web administrations.
  •       Platform independent and language independent.

2.  WSDL :-
                   

  • WSDL Stands for Web Services Description Language.
  •  It is an interface between web administration applications.
  • It is an XML Document.  
  • It is containing data about Web Administrations for example, technique name, strategy parameter and how to get to it.  
  1.   UDDI :-     
  • UDDI Stands for Universal Description, Discovery and Integration.
  • Containing data about web administrations.
  • XML – based system.