Web services Survival Analysis

Source: Internet
Author: User

The process of calling XML Web services is similar to that of calling conventional methods. The main difference between the two is that the former does not call Methods located in the client application, but generates request messages through specified transmission (such as HTTP. Because the XML Web services method may be located on different computers, the information required by XML Web services to process requests must be transmitted over the network to the server that carries XML Web services. After processing the information, XML Web services sends the results to the client application over the network.

The following illustration shows the communication process between the client and XML Web services.

The following describes the sequence of events when XML Web services is called:

  1. The client creates a new instance for the XML Web services proxy class. This object resides on the client computer.
  2. The client calls the method on the proxy class.
  3. The basic structure on the client computer serializes parameters of the XML Web services method into SOAP messages and sends them to XML Web services over the network.
  4. The infrastructure receives SOAP messages and deserializes XML. It creates an instance that implements the XML Web services class, calls the XML Web services method, and passes in the deserialization XML as the parameter.
  5. The XML Web services method executes its code and finally sets the return value and all output parameters.
  6. The infrastructure on the Web server serializes the return value and output parameters into SOAP messages, and then sends them back to the client over the network.
  7. The XML Web services infrastructure on the client computer will receive SOAP messages, deserialize XML into return values and any output parameters, and pass them to the proxy instance.
  8. The client receives the return value and all output parameters.

 

Address: http://msdn.microsoft.com/zh-cn/library/x05s00wz.aspx

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.