Home / Interview / Web Services :: General Questions

Interview :: Web Services

11) What is UDDI?

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

12) What is RESTful web services?

The REST stands for Representational State Transfer. It is an architectural style. It is not a protocol like SOAP.

13) What are the advantages of RESTful web services?

These are some of the important advantages of RESTful web services:

  • Fast - The Web Services are fast because there is no strict specification of SOAP. It consumes less bandwidth and resource.
  • Language Independent - The web services can be written in any programming language.
  • Platform Independent - The web services can be executed on any platform.
  • Can use SOAP - The web services can use SOAP web services as the implementation.
  • Allows different data format - The web service permits different data format such as Plain Text, HTML, XML, and JSON.
14) 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.
15) What is SOA?

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

SOA Connections
16) What tools are used to test web services?

The tools used to test web services are:

  • SoapUI tool for testing SOAP and RESTful web services
  • Poster for firefox browser
  • Postman extension for Chrome
17) What is the advantage of XML in web service?

In Web service, an XML is used to tag the data, format the data.

18) What is the usage of WSDL in a web service?

WSDL is used in web service to describe the availability of service.

19) What is Interoperability in Web services?

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

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