Web Services Interview Questions
There is given frequently asked Web Services interview questions and answers that has been asked in many companies. Let's see the list of top Web Services interview questions.
1) What is Web Service?
Web Service is a software system for communicating two devices over the network. More details...
2) How does a web service work?
A web service is used to communicate among various applications by using open standards such as HTML, XML, WSDL, and SOAP. You can build a Java-based web service on Solaris that is accessible from your Visual Basic program that runs on Windows. You can also use C# to build new web services on Windows that can be invoked from your web application that is based on JavaServer Pages (JSP) and runs on Linux.
3) What are the advantages of web services?
4) What are the different types of web services?
There are two types of web services:
5) What are the main features of web services?
Following is a list of main features of web services:
6) What is SOAP?
SOAP stands for Simple Object Access Protocol. It is a XML-based protocol for accessing web services. More details...
7) What are the advantages of SOAP web services?
8) What are the disadvantages of SOAP web services?
9) What are the main features of SOAP?
The following list specifies the features of SOAP:
10) What is WSDL?
WSDL stands for Web Services Description Language. It is a xml document containing information about web services such as method name, method parameter etc. More details...
11) What is UDDI?
UDDI stands for Universal Description, Discovery and Integration. It is a XML based framework for describing, discovering and integrating web services. It contains a list of available web services. WSDL is the part of UDDI. More details...
12) What is RESTful web services?
REST stands for REpresentational State Transfer. It is a architectural style. It is not a protocol like SOAP. More details...
13) What are the advantages of RESTful web services?
12) What is the difference between SOAP and REST web services?
13) What is SOA?
SOA stands for Service Oriented Architecture. It is a design pattern to provide services to other application through protocol. More details...
14) What tools are used to test web services?
15) What is the advantage of XML in web service?
In Web service, an XML is used to tag the data, format the data.
16) What is the usage of WSDL in a web service?
WSDL is used in web service to describe the availability of service.
17) What is Interoperability in Web services?
Web services facilitate various applications to communicate with each other and share data and services among themselves. Other applications can also use the web services. For example, a VB or .NET application can communicate with a Java web services and vice versa. Web services are used to make the application platform and technology independent.
18) Explain the loosely coupled architecture of web services.
A consumer of a web service is not tied to that web service directly. The web service interface can change over time without compromising the client's ability to interact with the service. A tightly coupled system implies that the client and server logic are closely tied to one another, implying that if one interface changes, the other must be updated. Adopting a loosely coupled architecture tends to make software systems more manageable and facilitates simpler integration between different systems.
19) What are the advantages of having XML based Web services?
Using XML eliminates any networking, operating system, or platform binding. So Web Services based applications are highly interoperable application at their core level.
20) What do you mean by synchronicity?
Synchronicity is used to bind the client to the execution of the service. In synchronous invocations, the client blocks and waits for the service to complete its operation before continuing. On the other hand, synchronous operations facilitate a client to invoke a service and then execute other functions.
21) What is the usage of Service Transport Layer in Web service protocol stack?
The Service Transport Layer is used to transport messages between applications.
This layer includes Hyper Text Transport Protocol (HTTP), Simple Mail Transfer Protocol (SMTP), File Transfer Protocol (FTP), and newer protocols like Blocks Extensible Exchange Protocol (BEEP).
22) What is the usage of Service Description layer in Web Service Protocol Stack?
The Service Description layer is used to describe the public interface to a specific web service. Currently, service description is handled via the Web Service Description Language (WSDL).
23) What is the usage of Service Discovery layer in Web Service Protocol Stack?
The Service Discovery layer is used for centralizing services into a common registry and providing easy publish/find functionality.
Currently, service discovery is handled via Universal Description, Discovery, and Integration (UDDI).