SOAP and REST WebServices with SOAP WS Interceptor
REST WebService REST : Representational State Transfer REST is a kind of structure. It is not a protocol. REST uses JAX-RS java API for webservice development. REST supports text, html, xml and JSON data Formats. REST generates WADL (WebService Application Description Language). REST allows client to interact with a web-based system using simple URLs rather than complex request paremeters and request body. The purpose of WADL is to define a contract between two parties. At the client end all the resources are Representational and can be accessed by Browser or REST client. RESET uses following JAX-RS based annotations. @Path @Get @Post @Delete @Put @Produces @Consumes Example import javax.ws.rs.Consumes; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import javax.ws.rs.core.MediaType; @Consumes(MediaType.APPLICATION_XML) @Produces(MediaType.APPLICATION_XML) @Path("/import") public ...