Web Service && WCF Learning Summary

Source: Internet
Author: User
Tags soap wsdl

Both WEB service and WCF technologies provide communication between the application and the application. Both are based on SOAP messages communicating between the client and the server, because the SOAP message is an XML format, so the data is transmitted in XML format. Each time a client requests data from the server, the client's service proxy translates the request message into a SOAP message for transmission, and the server turns the data into a SOAP message transmission when the data is returned. The services provided by both can be described using WSDL (Web Service Description Language). For clients, they can generate a proxy class for the service by adding a reference, requesting a WSDL document from the server, and then generating the service proxy based on the WSDL document (provided the service side allows the client to obtain the WSDL document, which can be configured in Webconfig).

In general, WCF can be seen as an upgrade to a Web service, so it should not be the difference between the two, but rather the advanced nature of WCF compared to Web service. Its advanced nature has two points: (1) The Network transport protocol supported by WCF is significantly more than the network protocol supported by web SERVICE,WCF including HTTP, TCP, Named Pipes, MSMQ and so on, while Web service only supports HTTP protocol; (2) WCF Service Host is more important than web Service-rich, WCF programs can be hosted in IIS, was, console applications, Windows client applications, Windows services, and so on, while Web service can only be hosted on IIS.

For now, as a data service, the use of Web services has been gradually superseded by WCF, because the functionality that Web service can implement is basically achievable, and WCF provides more selectivity on network protocols and service hosts.

Web Service && WCF Learning Summary

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.