SOAP Web Services Interview Questions
what is Web service? This is a way of loosely coupled way of integrating two different applications in such a way so that both have agreed to a contract to produce and consume a set of data.
Q1. What is difference between SOAP and RESTful ?
This is one of the most asked interview questions in the java web services. Initially asked to check, whether he/she is aware of the terminologies or not later deep dive the topic.
The complete list of differences between SOAP and Rest web services .
Q2. What are the advantages of SOAP web services?
This is one of the important SOAP Web Services Interview Questions.
- WS Security
- Language Independent
- Platform Independent
Q3. What are the disadvantages of SOAP web services?
- WSDL Dependent
for more reading… This is one of the important SOAP Web Services Interview Questions.
Q4. 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.
Q5. What is UDDI?
UDDI stands for Universal Description, Discovery, and Integration. It is an XML-based framework for describing, discovering, and integrating web services. It contains a list of available web services. WSDL is the part of UDDI.
- UDDI is an acronym for Universal Description, Discovery and Integration.
- UDDI is a XML based framework for describing, discovering and integrating web services.
- UDDI is a directory of web service interfaces described by WSDL, containing information about web services.
Q6. 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/consume it.
- Modularity: By the help of web service, we can create a service for a specific task e.g. create order , search book etc.
Q7. What are the advantages of SOAP web services?
- WSDL Dependent
Q8. What is difference between SOA and Web Services?
This is one of mostly asked questions during web services interview question. Service-Oriented Architecture (SOA) is an architectural pattern where applications are designed in terms of services that can be accessed through a communication protocol over a network. SOA is a design pattern and doesn’t go into implementation.
Web Services can be thought of as Services in SOAP architecture and providing means to implement SOA pattern. SOAP web services interview questions.
Q9. What is JAX-WS API?
JAX-WS stands for Java API for XML Web Services. JAX-WS is XML based Java API to build web services server and client application. It’s part of standard Java API, so we don’t need to include anything else which working with it.
Reference : more read About JAX-WS
Q10. what are the important annotations used in JAX-WS API?
Although there are a lot of annotation in the JAX-WS API in which few important annotations are:
Fore more details usage of above annotation with example read previous article Difference between RPC Style and Document Style SOAP web Services in Java