Web Service Overview

  • Web service is a technology to communicate one programming language with another.
  • Services that can be accessed over network are called web services.
  • Types of Web Services - "big" and "RESTful"
  • Web services are meant for applications to access data in the format of XML, JSON etc
  • Web services use SOAP, REST (almost all times run on HTTP/HTTPS protocol) protocol.
  • Web services are reusable (single web service can be used by different kinds of applications)
  • Web services are stateless
  • SOAP stands for Simple Object Access Protocol
  • SOAP is an XML based industry standard protocol for designing and developing web services. It’s platform and language independent. So server can be based on JAVA and client can be on .NET, PHP etc. and vice versa.
  • REST is an architectural style for developing web services, simple, quickly develope and uniquely identified by their URIs
  • Java provides JAX-WS and JAX-RS API to create SOAP and REST web services respectively.
  • These technologies include Java API for XML Web Services (JAX-WS) and Java API for RESTful Web Services (JAX-RS).
  • On a technical level, web services can be implemented in various ways.