You are on page 1of 2

ASIRE Technologies

K.RAMESH

Web Services Interview Questions


1) How WSDL file is validated?
2) What is @RequestBody and @ResponseBody annotation used?
3) What is REST url?
Ans) Format
/<context-path>/<resource-path>/<id>
Example:
/Hello/customers/1
4) How exceptions are handled in REST style?
Ans) The exception are handled using http error status codes ranges between 400 and
599.
5) What are the differences between SOAP style and REST styles?
6) When to go for REST style and when to go for SOAP style?
7) How to consume resources in Spring?
Ans) By using RestTemplate class
8) How to consume service?
Ans) Get wsdl file from provider.
Generate stubs using WS tools
Create request obj and pass to business method which is invoked on stub obj.
9) How to generate stubs and skeletons?
10)
How we can manage state in REST in real time? In any finance or telecom
application.
11)
How and where rest used https protocol?
12)
How to convert legacy web service into rest?
13)
Which one is more secure?
14)
How to implement security in Webservices both SOAP/REST?
15)
If we want to see wsdl file, we are appending ?wsdl to url, we should not show
wsdl to end user with url. How can we achieve this?
16)
How to Secure Rest Web Service?
17)
What is mustUnderstand attribute in soap?
18)
What is the difference between JMS and Web services?
19)
What is difference between RPC and Document?
20)
How to test multiple web services?
21)
What are the characteristics of good rest web services?
22)
How to encrypt wsdl from url?
23)
How to prevent un authorized consumer?
24)
What is the mechanism to count unauthorized hits?
25)
Other useful links
http://www.tutorialspoint.com/webservices/webservices_interview_questions.htm

ASIRE Technologies
K.RAMESH
http://javahungry.blogspot.com/2015/07/web-services-interview-questions-and-answers.html
http://www.javatpoint.com/web-services-interview-questions
http://career.guru99.com/top-50-web-services-interview-questions/
http://javarevisited.blogspot.in/2012/01/rest-web-services-framework-interview.html

You might also like