Welcome Message

Hi, welcome to my website. This is a place where you can get all the questions, puzzles, algorithms asked in interviews and their solutions. Feel free to contact me if you have any queries / suggestions and please leave your valuable comments.. Thanks for visiting -Pragya.

February 22, 2012

Webservices - Basics

1. Service over web
2. Language independent
3. Communicate mostly over HTTP, but can communicate over other transfer protocols as well
4. Two types : SOAP(Simple Object Access Protocol) based and REST(representational State Transfer) style
5. The client of webservices is generally an application without any user interface.
6. In a SOAP based webservice, a client generally sends SOAP document as request and gets SOAP based document as response. In a REST style WS, a client might send a standard http request and get an XML document as response.
7. Java 6 supports JAX-WS which supports both REST and SOAP webservices.

No comments: