In this article you will learn a good collection of Web Services Interview Questions. Earlier, i have shared Introduction to Web Services, as a java developer you must have strong knowledge on Web Service concept to develop robust and efficient software applications. In this session i am sharing frequently asked web services interview questions. I strongly recommended to people first complete course on respective subject then read interview questions. Now a days, web services playing vital role to develop in their projects,since it can be accessed by other programs over the web(http).
1) What is Web Service?
Ans: Web Services are client and server application that communicate over the world wide web(WWW) and HTTP. Web Services are provides a standard means of inter-operating between software applications running on different platforms and Frameworks.In other words, web service is a kind of software that is accessible on the internet.
2) Why do we use Web Service?
Ans: Web Services are used mainly in the fallowing things:
a)Interoperability
b) Standardized protocol
c) Low cost of Communication
a)Interoperability:
Web Services allows various applications to talk to each other and share data services among themselves. For example Java web services can talk .NET application and vice versa. The main purpose of web services are to make the application platform and technology independent.
b) Standardized Protocol:
Web Services use standardized industry standard Protocol for the communication like SOAP,HTTP,FTP etc..
c) Low Cost of Communication:
Web Services use SOAP over HTTP , so you can use your existing low-cost internet for implementing web services.
3)Give me an example of real web service?
Ans:
There are lot of real examples for web services, here i will tell you two examples, one is Adobe Systems which is create an efficient image production workflow across enterprise. Second one is IBM Web Services browser. This browser shows various demos related to web services. All these provide a plug-and-play interface for using web services such as stock-quote service,traffic-report service and weather service etc...
4) What are the different standards protocols for Web Service?
Ans:
There are three major protocols uses for Web Services. They are
XML-RPC: It is a Remote Procedure Call protocol which uses XML to encode its calls and HTTP as a transport mechanism. By using this protocol we can exchange object or structure between two applications.
JAX-RPC: It refers to Java API for XML based RPC. It specify java technology for web-based services and clients using RPC which are based on XML based protocol like SOAP.
JAX-WS: It refers to Java API fro XML based Web Services, which is the part of JAVA EE
Platform and GlassFish project. It is also provides annotation based web services.
5) What is SOAP?
Ans:
SOAP stands for Simple Object Access Protocol. It is an XML based protocol to exchange information over HTTP. It is used for accessing web service.
6) What are the underlying protocol over which you can send SOAP request?
Ans: The underlying protocol to send SOAP request is Hypertext Transfer Protocol(HTTP),Simple Mail Transfer Protocol(SMTP) and HTTPS(Secured HTTP)
7) What kind of Security is needed for web services?
Ans: The security level for web services is need to ensure reliable transaction and secure confidential information. The security level for web services should be more than that of what we say Secure Socket Layer(SSL). This level of security can be only achieved from Entrust secure Transaction Platform.
8) What is WSDL? What does WSDL contains?
Ans: WSDL means Web Services Description Language. It is an XML-based language written in XML and used for describing web services and the process of accessing it. WSDL specifies the network services,location service and operation services as set of endpoints operating on messages containing either documented oriented or procedure oriented information. It contains the fallowing key information:
information on all publicly available functions,set of operations. Binding information which provides information about how those messages can be exchanged,more specifically in that you need to specify transport protocol(HTTP/SMTP)and binding style(RPC).
WSDL is the base of the Universal Description,Discovery,and Integration(UDDI) that facilitates business to be listed themselves and their services on the internet.
9) What are the Name of the components to be published while deploying a Web Service?
Ans: The components that need to be published during a web services deployement are
a)web application Directory,
b)webservice.asmx File,
c)Webservice.Disco File,
d)web.config File
e)Bin Directory
10) What are Tools/API are used for developing and Testing web services?
Ans: Testing Tools for web services:
SoapUI for SOAP web service
Firefox plugin for testing RESTFUL Services.
REST API: Spring REST Web Service using MVC, jersey API, CFX,Axis, Restlet etc...
SOAP API: Axis, Spring Web service etc...
1) What is Web Service?
Ans: Web Services are client and server application that communicate over the world wide web(WWW) and HTTP. Web Services are provides a standard means of inter-operating between software applications running on different platforms and Frameworks.In other words, web service is a kind of software that is accessible on the internet.
2) Why do we use Web Service?
Ans: Web Services are used mainly in the fallowing things:
a)Interoperability
b) Standardized protocol
c) Low cost of Communication
a)Interoperability:
Web Services allows various applications to talk to each other and share data services among themselves. For example Java web services can talk .NET application and vice versa. The main purpose of web services are to make the application platform and technology independent.
b) Standardized Protocol:
Web Services use standardized industry standard Protocol for the communication like SOAP,HTTP,FTP etc..
c) Low Cost of Communication:
Web Services use SOAP over HTTP , so you can use your existing low-cost internet for implementing web services.
3)Give me an example of real web service?
Ans:
There are lot of real examples for web services, here i will tell you two examples, one is Adobe Systems which is create an efficient image production workflow across enterprise. Second one is IBM Web Services browser. This browser shows various demos related to web services. All these provide a plug-and-play interface for using web services such as stock-quote service,traffic-report service and weather service etc...
4) What are the different standards protocols for Web Service?
Ans:
There are three major protocols uses for Web Services. They are
XML-RPC: It is a Remote Procedure Call protocol which uses XML to encode its calls and HTTP as a transport mechanism. By using this protocol we can exchange object or structure between two applications.
JAX-RPC: It refers to Java API for XML based RPC. It specify java technology for web-based services and clients using RPC which are based on XML based protocol like SOAP.
JAX-WS: It refers to Java API fro XML based Web Services, which is the part of JAVA EE
Platform and GlassFish project. It is also provides annotation based web services.
5) What is SOAP?
Ans:
SOAP stands for Simple Object Access Protocol. It is an XML based protocol to exchange information over HTTP. It is used for accessing web service.
6) What are the underlying protocol over which you can send SOAP request?
Ans: The underlying protocol to send SOAP request is Hypertext Transfer Protocol(HTTP),Simple Mail Transfer Protocol(SMTP) and HTTPS(Secured HTTP)
7) What kind of Security is needed for web services?
Ans: The security level for web services is need to ensure reliable transaction and secure confidential information. The security level for web services should be more than that of what we say Secure Socket Layer(SSL). This level of security can be only achieved from Entrust secure Transaction Platform.
8) What is WSDL? What does WSDL contains?
Ans: WSDL means Web Services Description Language. It is an XML-based language written in XML and used for describing web services and the process of accessing it. WSDL specifies the network services,location service and operation services as set of endpoints operating on messages containing either documented oriented or procedure oriented information. It contains the fallowing key information:
information on all publicly available functions,set of operations. Binding information which provides information about how those messages can be exchanged,more specifically in that you need to specify transport protocol(HTTP/SMTP)and binding style(RPC).
WSDL is the base of the Universal Description,Discovery,and Integration(UDDI) that facilitates business to be listed themselves and their services on the internet.
9) What are the Name of the components to be published while deploying a Web Service?
Ans: The components that need to be published during a web services deployement are
a)web application Directory,
b)webservice.asmx File,
c)Webservice.Disco File,
d)web.config File
e)Bin Directory
10) What are Tools/API are used for developing and Testing web services?
Ans: Testing Tools for web services:
SoapUI for SOAP web service
Firefox plugin for testing RESTFUL Services.
REST API: Spring REST Web Service using MVC, jersey API, CFX,Axis, Restlet etc...
SOAP API: Axis, Spring Web service etc...
No comments:
Post a Comment