Javatpoint Logo

91-9990449935

 0120-4256464

Javatpoint Logo

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) What are the advantages of web services?

  • Interoperability: By the help of web services, an application can communicate with other application developed in any language.
  • Reuability: We can expose the web service so that other applications can use it.
  • Modularity: By the help of web service, we can create a service for a specific task such as tax calculation etc.
More details...

3) What are the different types of web services?

There are two types of web services:

  • SOAP
  • RESTful

4) What is SOAP?

SOAP stands for Simple Object Access Protocol. It is a XML-based protocol for accessing web services. More details...


5) What are the advantages of SOAP web services?

  • WS Security
  • Language Independent
  • Platform Independent
More details...

6) What are the disadvantages of SOAP web services?

  • Slow
  • WSDL Dependent
More details...

7) 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...


8) 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...


9) 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...


10) What are the advantages of RESTful web services?

  • Fast
  • Language Independent
  • Platform Independent
  • Can use SOAP.
  • Allows different data format.
More details...

11) What is the difference between SOAP and REST web services?

No.SOAPREST
1)SOAP is a protocol.REST is an architectural style.
2)SOAP stands for Simple Object Access Protocol.REST stands for REpresentational State Transfer.
3)SOAP can't use REST because it is a protocol.REST can use SOAP web services because it is a concept and can use any protocol like HTTP, SOAP.
4)SOAP uses services interfaces to expose the business logic.REST uses URI to expose business logic.
5)SOAP defines standards to be strictly followed. REST does not define too much standards like SOAP.
6)SOAP permits XML data format only.REST permits different data format such as Plain text, HTML, XML, JSON etc.
More details...

12) What is SOA?

SOA stands for Service Oriented Architecture. It is a design pattern to provide services to other application through protocol. More details...


13) What tools are used to test web services?

  • SoapUI tool for testing SOAP and RESTful web services
  • Poster for firefox browser
  • Postman extension for Chrome