Вы находитесь на странице: 1из 4

Web Services

Web services provide software methods which allow applications from one server to send request to the program on another one.

Earlier interaction between applications was only possible internally within computers which have same hardware and software configuration, with increasing internet connectivity a necessity has raised to an extent where people want to be able to make cross platform communication which does not depend on the type of OS being used or programming language in which the application was used. This is where web services have entered the arena with a solution to this requirement, web services consisted of methods which could be used by any application not caring about the OS on which is it existing, neither the programming language from which it has originated. Web services have provided this solution with the idea of communicating between these cross platform applications using internet protocols or standards like HTTP and XML. Any system having internet can have free reign to web services, once it has been installed on Internet, it can be directly used by any client supporting HTTP or XML. Requirements for web services can be given as:

In order to represent data, common format has to be used so that the data exchange should not be biased on any of the platforms. Standard rules have to be set to send messages to web services and receive reply back from web services at server side.

The requirements for web services will be biased on open standards like WSDL, SOAP, XML and UDDI. eXtensible Markup Language in itself is a cross platform follower therefore this can doubtlessly describe the data. There must be protocol which is common for all types of platforms this is where they have chosen SOAP to be perfect to transmit messages over the network.

Types of Web Services


by Web Services on December 24, 2010 in About Web Services Types of web services provide user with the various services provided from which they can choose as per their requirement.

As indicated by the World Wide Web Consortium, web services provide a standard communication medium of interoperating between applications developed on various platforms with different frameworks. Types of web services allow the client and server to interact with each other over the internet with the assistance of Hyper Text Transfer Protocol or HTTP and XML language. Web services provide a vast list of procedures or methods which can be used in synchronization with the developed application without considering the OS, Hardware or programming languages. Any application can make use of these web services and hence such working is named as Web APIs or Web methods. Below given are the types of services:

Simple web service: For these types of web services simple data types like int, string and other are sent and received as parameters and results which are returned by the methods in the other side of the sender. This provides only request/response type of functioning and does not encourage any transactions between the server and client. These types of web services keep point to point details; it uses XML messages and calls remote method. Functionality in simple web service includes sending a simple request from client to the server to which the server only responds with appropriate response to the client. Complex web service: It includes multiple business associates, and has a framework set for collaborations regarding business and also manages the business process. All the services under these types of web services are transactional, i.e., the client and server get

to interact with each other. It has quite complex security measures which involve usage of digital signatures for verification and access powers.

Web Services Examples


by Web Services on December 24, 2010 in About Web Services Web services examples can be published either on Internet directly or on Intranet but have to use IIS on local machine.

Web services implementation has been divided into two key components based on the web services architecture. The two components of web services are Publisher (the person who provides web services) and Consumer (the person who uses web services). The publisher or service provider implements the service on the Intra net or Internet, they simply have to write and publish the web services examples on the internet. The consumer or service requestor uses existing web services examples by using network connection and sending a request in XML format. Once web services examples like are written, they have to be saved on the IIS virtual directory with the file extension asmx. In order to test a web service it has to be published first using IIS functioning on the local machine. For this IIS has to be configured before publishing providing all the necessary permissions for the service provider. To see if web services examples are working fine on the local host of IIS virtual directory, the example copy should be placed in the directory and open the web server in the browser supported by IIS which Internet Explorer is having local host in the link and the path where the file is located. If the IIS has been configured properly then the web service page should pull up in the browser and display the information in better way. Writing web services for both service providers and consumers is quite easy and can be found in results of any popular search engine with detailed step by step procedure for creating of web services which can both be windows based and web based. Only the service consumer can be both windows based and web based.

Вам также может понравиться