Websrevice (2)

Source: Internet
Author: User

1.WebService invocation principle Implementing a complete Web service consists of the following steps :

The Web service provider designs the implementation Web service and publishes the correct Web service through the Web Service Broker and registers with the UDDI registry; (publish)

A Web service requester requests a specific service from a Web Service Broker, who queries the UDDI registry on request, and finds the service that satisfies the request for the requestor;

The Web service mediator returns to the Web service requester the Web Service description information that satisfies the condition, which is written in WSDL and can be read by various machines that support Web services;

Generate the corresponding SOAP message from the description information returned by the Web service mediator and send it to the Web service provider for the invocation of the Web Service; (binding)

The Web service provider executes the corresponding Web service by SOAP message and returns the result of the service to the Web service requester. Binding

Three, call mode: 1. . The simple and flexible method of dynamically calling WebService using Get/post/soap mode (C #)

There are 3 ways to call WebService

1). HttpGet
2). HttpPost
3). HttpSoap

The advantage of soap is that it can pass structured data, while the first two do not.
BTW, soap ultimately also uses HTTP to send XML

Websrevice (2)

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.