The essence of. Net: XML and soap

Source: Internet
Author: User
Internet applications are constantly expanding, but our Internet programming method is still in the Stone Age.

Internet
Users, like users on time-sharing terminals of old-fashioned hosts, request information from a protected resource and wait for a response. The information you receive from the Internet site you are browsing
HTML information.

However
Is interactive operations on websites more interesting? Will it be better if we can access the computing capability provided by the remote site in some way and use its services, not just its publishing capability? This is. net.
The essence to be provided.

. Net combines the computing power provided by the remote server with the communication required to allow user interaction. Specifically ,. Net is your-Internet
Developer-designed to help you create scalable new capabilities. Your Internet site should not be an isolated island in the ocean of bandwidth. On the contrary, you can
Build your site: integrate it into the Internet through cooperation and interoperability
.

The key to all this is, of course, the ability to cooperate. To ensure interoperability, data must be shared at a high-speed data transmission rate. How can this be done? Why. net
What happened today, not five years ago?

Of course, part of the answer lies in our network technology. There have never been so many people with high-speed bandwidth connections, and more people will join in the near future. Imagine that everyone has
The era of DSL, cable modem, or broadband wireless connection ...... We can hardly recall the 300 port modem.
The age

In the past few years, the two most critical advances have been the introduction of XML and Its Application in soap. These technologies are the core of. net. To be. net
XML and soap must be understood as the best developer in the development world.

. NET Technology

You may have read some information about. net.
What is it and what is itArticle...... Net allows us to share information and interact with each other at the service level rather than the publishing level. Microsoft support. net
And many third-party components, content, and functions have. net internal structures. But naturally, a question is raised: "What Makes. net
Able to work ?"

These are all starting from XML.

Data Encoding using XML

To understand. net, you need to understand XML
. Like the language we speak and write in our own communication, XML, extensible markup language, extensible markup language, is. net
. Maybe we have great ideas and information to share, but if we cannot express our thoughts and information in a way that others can understand, our hard work and thoughts can only lie there to sleep. XML is
The soul of. NET is the foundation of all. net. The database will be read and written through the record set in XML, and the Web browser will accept the XML
Visual Studio even produces XMLCode! If you do not understand XML and related technologies, you cannot support. net
Resource Exchange, whether it is a site or a person!

For today's Web servers, XML is almost ubiquitous. Almost all computing platforms can analyze XML
To obtain the content in the XML document. Windows, Linux, MVS, and VMS
Yes. Even for cellular mobile phones! Therefore, if we can find a way to obtain XML documents from a remote system, the question is how to understand the data contained in the document. In this case, we use soap
XML document.

Implement data communication using soap

For a long time, we have used Hypertext Transfer protocol HTTP to provide web
Page and the content of the exchange. However, when we combine HTTP or some other Internet transmission protocols with XML
In the format of the document itself, you get the Simple Object Access Protocol soap. At least when you get started, soap is designed to pass remote method calls from a local system to a remote system. Based on soap
The structure is different from other contemporary remote structures-DCOM, CORBA, and RMI. the SOAP protocol can traverse any group's firewall, and the soap data package contains
XML encoded data. They are easy to analyze and use. Soap also has good scalability, which enables us to serve a lot of users at the same time.

Soap
The original concept of the model was to use the request-response model, which is similar to the Internet computing model we use today. Subsequently, soap was developed to include the message model. The difference between the two is that soap
When coding method parameters on the remote system, it has a special purpose to obtain results. It does not ask the web site to provide a data table of interest. On the contrary, for example, on the same system, I can call a hypothetical
Calculatepayment ()
And receive a payment value. Yes, you can do this with a form today, but the key is that there is a difference between calling the service and submitting the form. Service calling is a more powerful concept.

. Net: Data Sharing Platform

Give me a language
XML and a communication method soap, I can build a system that allows us to interact and cooperate. This is. net. Initially, Microsoft
It will create such powerful sharing, and they will need some time to put the original version in the public domain. If. Net Works as expected, it will change our computing habits and business practices, just as in the past two decades.
What DOS and Windows do. It is foreseeable that websites that encourage users to interact and provide services to Web consumers will flourish. These sites will not be in trouble or even die out, because
Internet
Consumers are more aware of the need for enhanced services.

the computation of fat clients is not extinct, but thin client computation is becoming more popular in the market. As a developer or project manager, you should have the responsibility to learn the latest concepts and technologies and apply them to business practices. Remember Darwin's words: evolution is coming, but natural choices are also going on.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.