XML Web Services underlay

zhaozj2021-02-16  45

XML Web Services underlay

In order to use in different web, XML Web Services must be unknown for the operating system, object modules, and programming languages ​​employed. At the same time, in order to make XML Web Services are widely welcomed like other web-based technologies, it must be:

l Songs and coupling: The entrustment management between the system is considered to be self-description, and the text-based message is loosely coupled. A large number of custom system overheads used between the system are communicating and gain a bigger understanding.

l Generally widely adopted: Today or visible future If someone develops an operating system without the ability of the Internet connection, it will be unimaginable. Therefore, the ability to connect to any system or device to the Internet ensures the effectiveness of this device or system.

l Universal data format: Because of the existing, open standards on the private, closed-loop communication methods, all systems that support the same standards XML Web Services are possible. Using the self-description, text-based messages (XML Web Services and clients do not have to know the following systems can be shared) enable communication between autonomous systems and xenografts. XML Web Services uses XML to complete this feature.

XML Web Services uses the underlying structure to provide a function: a discovery mechanism for positioning XML Web Services services, defines how to use these services, and the standard line format of communication with it.

XML Web Services underlay

Bottom structure module

definition

XML Web Services Directories

XML Web Services Directories provides an XML Web Services Positioning Center, which points to the XML Web Services provided by other companies.

For example, UDDI registration provides this feature. XML Web Services Customers may need to reference XML Web Services Directory.

XML Web Services Discovery

XML Web Services Discovery is a process of positioning or discovering more related documents, which uses the Web Service Description Language (WSDL) to describe a specific XML Web Services. The DISCO specification defines the operation method described in the positioning service.

If the XML Web Services Customer knows the location of the service, you can skip the search process.

XML Web Services Discription

In order to know how to interact with a specific XML Web Services, you must provide a service description definition of XML Web Services support interaction.

XML Web Services Customers must know how to interact with XML Web Services before using XML Web Services.

XML Web Services Wire Formats

In order to use the most common communication, XML Web Services must use Wire Formats. This protocol can be understood by any of the most common Web standards.

SOAP is a key protocol for XML Web Services Communication.

Anatomy of Anatomy of an XML Web Service

The process that occurs when you call an XML Web Service and call a general method. The difference is that you don't use a method to generate a request message through a specific transfer, for example: http. Because the XML Web Service method can define a different computer, the XML Web Service needs to process request information must be passed to a computer that resides XML Web Service through the network. The XML Web Service server processes this information and then sent back the result to the client through the network.

The following illustration shows the communication process of the client and the XML Web Service server:

XML Web Service Life

The sequence of events occurred in XML Web Service is described below: 1. The client establishes a new XML Web Service service proxy class instance, which resides in the client's computer.

2. The client calls a proxy class method.

3. The underlying structure of the client computer serializes the parameter of the XML Web Service method as the SOAP message and sends it to the XML Web Service server via the network.

4. The underlying structure of the server and receives the SOAP message, the parallelism is XML. Establish a class instance to complete the XML Web Service, call the XML Web Service method and pass the XML parameter.

5. XML Web Service method execution, final setting return value and output parameters.

6. The underlying structure of the XML Web Service server will return the value and the number of parameters to SOAP messages. And send back the client through the network.

7. The underlying structure of the client receives the SOAP message above, and the reverse selecinstened XML is the return value and output parameters. And passed it to the proxy instance.

8. The client accepts the return and output parameters.

转载请注明原文地址:https://www.9cbs.com/read-26332.html

New Post(0)