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. You are browsing the Internet
The information received on the site is composed of HTML-based information that it wants to provide to you.

However, is interactive operations with remote web sites 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 the essence that. NET will provide.

. Net
Combine 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
The site should not be an isolated island in the ocean of bandwidth. On the contrary, you can build your site in this way: integrating it into the Internet through cooperation and interoperability capabilities.

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 does. Net occur 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
The era in which everyone has DSL, cable modem, or broadband wireless connection ...... We will have a hard time remembering the 300 Potter modem era.

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 become a leader in the. NET development world, you must understand XML and soap.

. NET Technology

You may have read some articles about. NET and its composition ...... Net
We can share information and interact with each other at the service level rather than at the publishing level. Microsoft supports. Net products and many third-party components, content, and functions.
. Net internal structure. But naturally, a question is raised: "What Makes. Net work ?"

These are all starting from XML.

Data Encoding using XML

To understand. net, we 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 and go to bed.
Jue. XML is the soul of. Net and 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
And display it with the style sheet that accompanied it. Visual Studio even produces XML code! You cannot support XML and Related Technologies
. 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, so they can obtain XML
Content in the 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 is equipped with XML documents.

Implement data communication using soap

For a long time, we have used Hypertext Transfer protocol HTTP to provide web pages and exchange content. However, when HTTP or some other Internet
When the transfer protocol is combined with XML and the XML file format is specified, you get the Simple Object Access Protocol.
Soap. At least when it was first conceived, soap was designed to deliver 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 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.

The original idea of the soap model was to use the request-response model, which is similar to the Internet computing model we use today. Then, soap
Developed to include the message model. The difference between the two is that soap has a special purpose for obtaining results when coding method parameters on the remote system. It does not request the Web
The site provides a data table of interest. On the contrary, for example, on the same system, I can call a hypothetical table called 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 of XML and a communication method of soap, and I will be able to establish 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
Working as expected will change our computing habits and business practices, just like what DOS and Windows have done over the past two decades. It is foreseeable that users are encouraged to interact and
Websites that web consumers provide services will flourish. These sites will not be in trouble or even die out, because Internet consumers are more aware of their need for enhanced services.

The computation of fat clients is not extinct, but the computation of thin clients 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.

(From small talk blog: http://www.xiao-tan.com
)

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.