Web Services

Web Services :- that is client server application which communicate over www using http/s.

Type of web services :- soap and rest. soap works over xml media type and rest over different media types like jason, text ext.soap stands for simple object access protocol where as rest stand for representational state transfer.

WSDL: It is a web service description language, which contains the machine readable operation details of soap web service. It is used to describe formal contract details such as messages, operations, binding and web service locations.

JAX-WS : used to create soap web services.  JAX-RS : used to create rest full web services.

REST Full web services :- it provides stateless web services. it does not require xml message or wsdl service. is is based on below principles
#1  resources identification through url : resources are identified by uri using annotations i.e @PathParmas, @QueryParms
#2 uniform interfaces: resources are manipulated using defined operations i.e. put,get,delete,post
#3 self descriptive messages: media type of request and response is controllable.

Topic to explain:-
#1 Authentication.
#2 Read headers.
#3 Read parameters from uri ( i.e. domain/user/111 , domain/user?id=111)
#4 Skip some parameters from object while sending over http.
#5 Set response parameter type.
#6 Test restful api.
#7 Do not encrypt the some parameter of object while sending over http.


Comments

Popular posts from this blog

Custom DataType in Oracle Database.

Reverse String, Unchanged position of special characters.

Java 8 Questions.