Web Services Interview Questions


Posted August 24, 2017 by ellengomez0122

A web service is used to communicate among various applications by using open standards such as HTML, XML, WSDL, and SOAP.

 
Web services are widely used since the dawn of the internet. When you seek to hire a novice in your company for web service profile, there are a bunch of standard question which could be asked, they are listed below:

• What is Web Service?
Web Service is a software system for communicating two devices over the network.

• 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 Java Server Pages (JSP) and runs on Linux.

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

√ Reusability: 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.

• What are the different types of Web Services?
There are two types of web services:

√ SOAP

√ RESTful

• What are the main features of Web Services?
Following is a list of main features of web services:

√ It is available over the Internet or private (intranet) networks.

√ It uses a standardized XML messaging system.

√ It is not tied to any one operating system or programming language.

√ It is self-describing via a common XML grammar.

√ It is discoverable via a simple find mechanism.

• What is SOAP?
SOAP stands for Simple Object Access Protocol. It is a XML-based protocol for accessing web services.

• What are the advantages of SOAP Web Services?
√ WS Security

√ Language Independent

√ Platform Independent

• What is WSDL?
WSDL stands for Web Services Description Language. It is an XML document containing information about web services such as method name, method parameter etc.

• What is UDDI?
UDDI stands for Universal Description, Discovery, and Integration. It is an XML based framework for describing, discovering and integrating web services.

• What is RESTful Web Services?
REST stands for REpresentational State Transfer. It is an architectural style. It is not a protocol like SOAP.

• What are advantages of RESTful Web Services?
√ Fast

√ Language Independent

√ Platform Independent

√ Can use SOAP.

√ Allows different data format.

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

• What is the advantage of XML in Web Services?
In Web service, an XML is used to tag the data, format the data.
-- END ---
Share Facebook Twitter
Print Friendly and PDF DisclaimerReport Abuse
Contact Email [email protected]
Issued By ellen gomez
Website Java tutorial for beginners
Business Address pune india
Country India
Categories Education , Software , Web Development
Tags core java tutorial , how to learn java programming , java interview questions , java tutorial for beginners
Last Updated August 24, 2017