Skip to main content

Posts

Fundamental of Web Services

FUNDAMENTAL OF WEB SERVICES WEB SERVICES:- A   Web service   is a method of interaction between two devices over the  WWW . It is a software tool provided on internet which helps us to create client-server service. It is a software system designed to support interoperability with various machine interaction over a network. The web service replies in a language called WSDL (Web Service Description Language).    Some of its features are:- They are application components They  communicate with open protocols They  are  self-describing It can be used by various applications The basis for web services are HTTP and XML Working of web services The client sends a request to the server  The Request is  encoded in XML format  The Function (GET, POST…)is inserted in the file  The server receives and decodes the file  The received function is executed  A new XML file is encoded and is sent back to the client. WSDL WSDL is an acronym

HTTP Header (continued)

Headers HTTP headers are very important part of both request message and response message. They mainly specify the characteristics of the resource requested and the data that are provided. For example-a client may want to accept image files only in some specified format. Similarly, the server may provide additional information about the resource being sent such as the length of the message or the last modification date of the resource. Headers are separated by an empty line from the request and the message body. it consists of a single line or multiple lines. Each line is a single header of the following form: Header-name: Header-value The headers may be of two types: ·          HTTP Request header format- the request header consist of three parts:  General header, request header and entity header.  General Header  Request Header    Entity Header                                     ·          HTTP Response header format- the request header consist of t

fundamental of HTTP

HTTP ( Hypertext  Transfer Protocol) FUNDAMENTAL OF HTTP:- Hypertext Transfer protocol is a request response protocol. It is an application layer in TCP/IP protocol suite. It was originally developed to transfer files and data in distributed, collaborative, hypermedia information system. According to this protocol a process is run which create and store the resources like HTML image, files etc. On request this process provides these resources and is called web server. A web server waits for request and response when required. - Its main purpose is to transfer web pages from one computer (web server) to another computer (client server). - It is useful to transfer web pages containing links in an environment where there are rapid jumps among such  hyperlink  web pages. - It allows us to transfer a wide variety of data such as text, image, audio, video or even the result of a query. - It is used to access virtually all types of resources on web. WORKING OF HTTP ·