Web Services Interview Questions & Answer
The Web Services is any services that is available over the internet or intranet networks uses standardized XML messaging system. It is not tied to any operating system or programming language. It is self-describing via a common XML grammar. It is discoverable via a simple find mechanism.
Interoperability: Web services are accessible over network and runs on HTTP/SOAP protocol and uses XML/JSON to transport data, hence it can be developed in any programming language. Web service can be written in java programming and client can be PHP and vice versa.
Reusability: One web service can be used by many client applications at the same time.
Loose Coupling: Web services client code is totally independent with server code, so we have achieved loose coupling in our application.
Easy to deploy and integrate, just like web applications.
Low Cost of Communication
Multiple service versions can be running at same time.
There are three major rolls of web services architecture:
Service Provider - The service provider implements the service and makes it available on the Internet.
Service Requestor - The requestor utilizes an existing web service by opening a network connection and sending an XML request.
Service Registry - The registry provides a central place where developers can publish new services or find existing ones. It therefore serves as a centralized clearing house for companies and their services.