Web Services Interview Questions.
This blog is just for revision.
Use pluggin cfx-codegen-pluggin
Goal wsdl2java
Wsdl location
Binding files
Note : wsdl will have xsd,a java class for each xsd will be generated.
This blog is just for revision.
- What is SOAP Web Services
- What is Contract first ?
- What is WSDL ?
- What are the parts of wsdl ?
- types : data types used
- message : request and response
- portType : operations available
- binding :
- Operations:
- Service :
Types
Schema
Contract namespace
Schema location xsd
Message can be multiple
Part
Name
Element
Type
Port type
Operation
Input, output,fault
Binding
Style document/ RPC transport
Operation
Input
Header, body
Output
Header,body
Fault
Fault
Port type
Operation
Input, output,fault
Binding
Style document/ RPC transport
Operation
Input
Header, body
Output
Header,body
Fault
Fault
Service
Port
Binding
Location
Port
Binding
Location
- What is XSD ?
- Explain wsdl2java
Use pluggin cfx-codegen-pluggin
Goal wsdl2java
Wsdl location
Binding files
Note : wsdl will have xsd,a java class for each xsd will be generated.
- What are the elements of soap message?
- Envelope
- Header
- Body
- Fault
- What are SOLID principles in Rest Web services Development ?
- Single Responsibility : Each class has only one function
- Open for Extension Closed for Modification : existing classes should not be modified , instead new classes should be created .
- Liskov Substitution Principle : App should work fine if we substitute subclass in place of super class .
- Interface Segregation : large interfaces should be divided into smaller ones .
- Dependency Inversion : loose coupling .
No comments:
Post a Comment