Skip to main content

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 for Web Services Description Language. It is a language used for describing web services, how to access them and locate them. It is usually written in XML.
  • It is used to describe Web services
  • It also locates Web services


UDDI
UDDI is an acronym for Universal Description, Discovery and Integration. It is a directory service where businesses can register and search for Web services. It is a platform-independent framework for describing services, discovering businesses, and integrating business services by using the Internet.
  • It is a directory of web service interfaces described by WSDL
  • It communicates via SOAP
  • It is built into the Microsoft .NET platform

TYPES OF WEB SERVICES
-         Application Programming Interfaces  (API)
-          Request services
-          REST architecture
-          SOA architecture
-         SOAP architecture
-          World Wide Web Consortium (W3C)

API
An application programming interface (API) defines how software elements should communicate with each other.
It is used to ease the work of programming graphical user interface (GUI) components. An API is based on source code instead of binary interface. It can take many forms, including an International Standard such as POSIX, vendor documentation such as the Microsoft Windows API, e.g., Standard template library in java API or C++. It is different from an Application Binary Interface (ABI). In an API, it is based on the source code while an ABI is a binary interface. For e.g., POSIX is an API, while the Linux Standard Base is an ABI.

REST ARCHITECTURE
REST is an acronym for Representational state transfer. It is an architectural format consisting of a coordinated set of constraints which is applied on components, connectors, and data elements, within a distributed hyper media system. The term REST was introduced and defined in 2000 by Roy Fielding.
It is  applied to describe the desired web architecture, for  identifying existing problems, to compare alternative solutions, and it also ensure that protocol extensions would not violate the core constraints that make the Web successful. This format is also applied to the development of Web services.
The properties of the REST are as follow:
·         Performance
·         Component interactions Scalability
·         Simplicity of interfaces
·         Visibility of communication
·         portability 
·         deployment
·         Reliability

SOAP ARCHITECTURE
SOAP is an acronym for Simple Object Access Protocol. It is a protocol for accessing web services. It is based on XML.
  • It is a communication protocol
  • This protocol is for communication between applications
  • It is a format for sending messages
  • It communicates via Internet
  • It  is also platform independent and language independent
  • It is simple and extensible
It provides a better way of communication between applications running on different operating system with different technologies and programming languages over HTTP, because HTTP is supported by all internet browsers and servers.



Comments

Popular posts from this blog

Advantages and Disadvantages of EIS Advantages of EIS Easy for upper-level executives to use, extensive computer experience is not required in operations Provides timely delivery of company summary information Information that is provided is better understood Filters data for management Improves to tracking information Offers efficiency to decision makers Disadvantages of EIS System dependent Limited functionality, by design Information overload for some managers Benefits hard to quantify High implementation costs System may become slow, large, and hard to manage Need good internal processes for data management May lead to less reliable and less secure data

Inter-Organizational Value Chain

The value chain of   a company is part of over all value chain. The over all competitive advantage of an organization is not just dependent on the quality and efficiency of the company and quality of products but also upon the that of its suppliers and wholesalers and retailers it may use. The analysis of overall supply chain is called the value system. Different parts of the value chain 1.  Supplier     2.  Firm       3.   Channel 4 .   Buyer

Big-M Method and Two-Phase Method

Big-M Method The Big-M method of handling instances with artificial  variables is the “commonsense approach”. Essentially, the notion is to make the artificial variables, through their coefficients in the objective function, so costly or unprofitable that any feasible solution to the real problem would be preferred, unless the original instance possessed no feasible solutions at all. But this means that we need to assign, in the objective function, coefficients to the artificial variables that are either very small (maximization problem) or very large (minimization problem); whatever this value,let us call it Big M . In fact, this notion is an old trick in optimization in general; we  simply associate a penalty value with variables that we do not want to be part of an ultimate solution(unless such an outcome is unavoidable). Indeed, the penalty is so costly that unless any of the  respective variables' inclusion is warranted algorithmically, such variables will never be p