Web Service :-
a service offered by an electronic device to another electronic device, communicating with each other via the World Wide Web
Web services provide a common platform that allows multiple applications built on various programming languages to have the ability to communicate with each other
Popular Web Services Protocols are:
SOAP:
SOAP is known as the Simple Object Access Protocol.
SOAP was developed as an intermediate language so that applications built on various programming languages could talk quickly to each other and avoid the extreme development effort.
- SOAP can only work with XML format.
- SOAP cannot make use of REST since SOAP is a protocol and REST is an architectural pattern.
- SOAP was designed with a specification. It includes a WSDL file which has the required information on what the web service does in addition to the location of the web service.
REST:
REST stands for Representational State Transfer.
REST is used to build Web services that are lightweight, maintainable, and scalable.
- REST permits different data format such as Plain text, HTML, XML, JSON, etc.
- REST can make use of SOAP as the underlying protocol for web services, because in the end it is just an architectural pattern.
- REST is an Architectural style in which a web service can only be treated as a RESTful service if it follows the constraints of being
- Client Server
- Stateless
- Cacheable
- Layered System
- Uniform Interface
URL : Uniform Resource Locator
is a reference to a web resource that specifies its location on a computer network and a mechanism for retrieving it.
The URL is made up of four components
- Scheme
- Host
- Path
- Query String
Scheme:
Identifies the protocol to be used to access the resource over the internet (example: HTTP, HTTPS, FTP, mailto, and some more). In web browsing users don’t usually type the protocol when typing the web address, they just start with the domain name or subdomain. But HTTPS is considered as secure communication between the browser and the server. And even search rankings are already streamlined towards SSL encrypted websites. So have SSL installed on your website.
Host Name:
A hostname is nothing but an IP address, it helps to recognize and memorize names to numerically addressed Internet resources. A hostname consists of a subdomain (www), Second level domain (digitalgasm) and Top-level domain (.com). Together the SLD and TLD carry the authority of your website which is known as Domain Authority or Domain link Juice. The hostname is followed by the port number, the default port number to a webpage is :80 but which is not necessary.
Path:
The path is like navigating a file into folders in your personal computer. (/blog/seo) is a path to “seo” a resource where the subdirectory is “/blog/“. The subdirectories provide users & search engines to understand the section of the resource. Thus path is the most important URL parts, optimizing the subdirectory and file name helps in better ranking on search engines.
Query String:
Query String follows the path and provides a string of information to the resource or file for some purpose. Query string starts with a question mark (?) and separated with an ampersand (&)

Comments
Post a Comment