Basic concepts WebService

2010-06-22  来源:本站原创  分类:Internet  人气:159 

On the surface, Web Service is an application that exposure to the outside world, a call can be conducted through Web API. This means that the method can be used by programmers to implement a feature called Web applications.

Deeper point of view, Web Service is a new branch of Web applications, they are self-contained, self-describing and modular applications that can in the network (usually the Web) is described, publish, and through the web to call.

Web Service is a web-based, distributed, modular components; it to perform specific tasks, comply with specific technical specifications, these specifications enable Web Service is compatible with other components to interoperate. It can use standard Internet protocols, Web Service platform is a standard that defines how applications to achieve interoperability in the Web.


Web services is not necessarily on the existence and WWW, Web services can live anywhere in the network, the Internet or LAN will do.

Web service implementation, deployment platform, the details of the procedure and called the service has nothing to do. Web service API and by statement calling mechanism used. This Web browser and Web application server similar to the relationship between.

Web Service platform needs a protocol to achieve the creation of distributed applications. Any platform has its own data representation and types of systems. To achieve interoperability, Web Service platform to provide a standard type system for communication between different platforms, programming languages and component models of different types of systems. Currently these agreements include:

XML and XSD. Extensible Markup Language XML is a Web Service platform that the basic format of the data. In addition to easy to set up and easy to analyze things, XML is both a major advantage of platform-independent, it has nothing to do with the company. W3C XML is created at the same time, W3C has developed a standard definition of XML Schema data types, and gives a language to extend this type.

Web Service platform is to use the XSD as a data type system. When you use a language such as VB.NET or c #, java to build a Web Service, in order to comply with Web Service standards, all data types used must be converted to XSD types. If want it to be used in different platforms and different software transfer between different organizations, we must also use it to package up something. This thing is a protocol, such as the SOAP protocol.

SOAP, SOAP or Simple Object Access Protocol (Simple Object Access Protocol), which is used to exchange XML encoded messages lightweight protocol. It has three main aspects: XML-envelope for the description of the contents of the information content and how to deal with the definition of the framework; the program object code as the rules of XML objects; implementation of the Remote Procedure Call (RPC) of the agreement. SOAP can be run on any transport protocol.

Simple Object Access Protocol (Simple Object Access Protocol, SOAP) is a kind of passing messages between systems using the XML protocol. Before the advent of the SOAP, people in systems using CORBA, DCOM mechanism of interaction data, these mechanisms are used in humans can not recognize and read the binary data transfer message, it is difficult to develop and debug.

SOAP uses text format, open the XML document sent messages, you can use a hyperlink transfer protocol (HyperText Transfer Protocol, HTTP), File Transfer Protocol (File Transfer Protoclo, FTP) and other network protocol, and also help to promote a variety of heterogeneous distribution systems, various programming languages to achieve mutual cooperation between the. SOAP applications typically used to encapsulate the message communication packets, in the exchange of data between distributed systems, called heterogeneous system object. With the popularity of Web services, SOAP applications growing.

Web Service hopes to achieve the different systems can use the "software - software dialogue" means each call, broken software applications, websites and various devices fit between the state, to achieve "seamless integration of Web-based" targets.

WSDL. Web Service Description Language WSDL is a machine can read the official description of the document, which is XML-based language for describing Web Service and its functions, parameters and return values. Because it is based on XML, so the WSDL is machine readable, it is human readable.

UDDI. The purpose of UDDI is to establish standards for e-commerce; UDDI is a Web-based, distributed, and for the Web Service provided information registry of standards, but also contains a set of the enterprise can provide its own Web Service registration, to enable other companies to find the realization of the standard access protocol.

Remote Procedure Call RPC and messaging. Web Service itself is in the realization of the application's communication. We now have two application methods of communication: RPC remote procedure calls and messaging. When using RPC, the client's concept of remote procedure call server, the usual way to instantiate a remote object and call its methods and properties. RPC system attempts to reach a position of transparency: the server object exposes remote interfaces, and the client as if the local use of these objects, like the interface, thus hiding the underlying message, the client also does not need to know the object in that machine.

  • Basic concepts WebService 2010-06-22

    On the surface, Web Service is an application that exposure to the outside world, a call can be conducted through Web API. This means that the method can be used by programmers to implement a feature called Web applications. Deeper point of view, Web

  • Basic concepts of AOP 2010-03-31

    First, we come to understand some basic concepts in AOP. These concepts are common AOP terminology is not unique to Spring.NET. Unfortunately, AOP terminology is not particularly intuitive. But if Spring.NET to define their own special term, may be m

  • [10Minutes] closure: basic concepts 2010-02-09

    Closure: Basic Concepts Closure can contain free (unbound) variable block; these variables are not in this block of code, or any definition of the global context, but the definition of the code block in the definition of the environment. "Closure&quo

  • Project management using Maven 1 - Basic Concepts 2010-02-20

    This article describes the basic concepts of Maven, the next blog post for project management using Maven 2 - Management with Maven simple Java project, we will apply the tools and Maven Maven ideological construction of a simple Java management proj

  • Oracle DDL, DML, DCL, TCL basic concepts 2010-03-03

    Oracle DDL, DML, DCL, TCL basic concepts DDL Data Definition Language (DDL) statements are used to define the database structure or schema. Some examples: CREATE - to create objects in the database ALTER - alters the structure of the database DROP -

  • flash sports some of the basic concepts of law 2010-04-03

    The activities of the cartoon image, unlike other films, as a direct shot with the film movement of the object and objective, but the movement of objects through objective observation, analysis, research, performance practice with animation (mostly e

  • Core Series JavaScript Chapter 2 Basic Concepts 2010-04-03

    Chapter II Basic Concepts JavaScript in this chapter will focus on basic concepts, these concepts with the traditional language is a more substantial difference, to do so for a separate Zhuanmenmiaoshu Zhang, Li Jie of this chapter, the concept of th

  • Depth JMS - 1 - Basic Concepts (change) 2010-05-28

    1.JMS basic concepts JMS (JavaMessageService) or Java Message Service. It offers a standard production, sending and receiving messages interfaces simplify application development. It supports two messaging models: point to point (point-to-point) (P2P

  • Introduction to WAP development and improvement of the basic concepts WML - WML simple example and editing. Test methods 2010-07-30

    Part II: WML basic concepts - WML simple examples and editing, test methods Complete the WAP server and WAP browser, the establishment of the installation, we then can use WAP WML language to write Web pages or applications, and through WAP server an

  • Beginners Introduction to the 30 needed to master the basic concepts of 2010-07-30

    Java Basics: Introduction to beginners need to master the basic concepts of the 30 basic concepts 1.OOP the only relationship is what the interface object, like a computer power supply vendors within the structure of her no matter what, he can only g

  • Android UI overview of the basic concepts of user interface development 2010-08-28

    Android UI Programming Interface Overview In this paper, the user interface of the Android UI open some of the basic concepts, not to do in-depth explanations, but you can quickly browse Android open often involves some basic concepts and elements. 1

  • Chen's Android Notes (1) - Basic concepts 2010-09-05

    Reproduced, indicate the source, the paper quotes the book as a reference part of the original. As a beginner, buy the Hello Android-Android Essentials (English translation). Then there came the Internet "Begin Android" English. The following tw

  • java socket terms of basic concepts 2010-09-28

    Java socket basic concepts, terminology Hosts Host Routers router, the information is passed from a communication channel or forward to another communication channel. communication channel communication channel is a sequence of bytes transmitted from

  • paervision3D some of the basic concepts 2010-11-03

    Paervision3D began to study for some time, to sum up their experiences under study, so the back and forgot. First of all, tell us about some of the basic concepts paervision3D 3d 3d of objects in space, objects are made of any vertex (x, y, z) 3 cons

  • DB2 basic concepts - examples. Database. Table space. Container 2010-12-07

    The basic concepts of DB2 in the DB2 several concepts from top to bottom: Example (Instance), Database (Database), Table space (TableSpace), Container (Container) In an operating system, DB2 data service can run multiple instances (as opposed to Orac

  • ORACLE table space and its maintenance of the basic concepts 2011-01-13

    ORACLE Basic concepts of table space and its maintenance ORACLE Database known as the table is divided into logical areas of space - the formation of ORACLE The logical structure of the database . An ORACLE database can have one or more table space ,

  • Summary of basic concepts and usage of GIT 2011-04-24

    Summary of basic concepts and usage of GIT guibin.beijing @ GIT in the course of daily use, often wrong, such as inadvertently lost uncommitted data back version of the working directory is lost, and so on. After thinking that all these err

  • Summarize the basic concepts and usage of GIT 2011-04-24

    Summarize the basic concepts and usage of GIT guibin.beijing @ In daily use GIT process, often wrong, such as inadvertently lost uncommitted data back version of the work lost when a directory, and so on. After thinking that all these error

  • The basic concepts of data mining technology (transfer) 2011-01-26

    1.1 Basic concepts of data mining technology With the development of computer technology, businesses are beginning to use computers, and information technology management and operations, which allows companies to generate, collect, store and process

  • ORACLE implementation plan of some basic concepts 2011-03-22

    ORACLE implementation plan of some basic concepts (1) One. Related Concepts Rowid concept: rowid is a pseudo-column, since it is pseudo column, this column is not user-defined, but the system itself to add the. For each table has a rowid pseudo-colum