Questions about the downgrading of the C # Web Service in Delphi

Source: Internet
Author: User

Questions about the downgrading of the C # Web Service in Delphi
First, I think it is necessary. the development of webservice under the. net platform gives a more comprehensive explanation. The initial emergence of web service is in the e-commerce environment, and some problems are not easily solved by traditional means, for example, for business communication and data exchange among applications, it is no longer feasible to use binary mechanisms such as DCom and CORBA. Let alone they are restricted by their respective platforms, for example, the DCom (Distribute Common Objects Model) can only be performed on Windows platforms, while the Common Objects Request Broker Architecture is only a product of the Java platform. It is difficult for them to implement data communication between applications.
In this context, Web Services came into being, which effectively addresses cross-language, cross-platform, and good and secure penetration through the Enterprise Firewall. Its architecture is divided into five levels:
Data communication over the HTTP (HyperText Transfer Protocol) Channel
XML (Extensable Markup Language) data expression
Data encapsulation of SOAP (Simple Objects Access Protocol)
Description Language format of WSDL (WebServices Description Language)
Unified Description, Discovery, and Integration of UDDI (Universal Description and Discovery Integration)
As its advantages include cross-language, cross-platform, and good and secure penetration through the Enterprise Firewall, We are excited. However, it also has some improvements, such:
Data communication over HTTP is slow, especially the first connection.
Requires the additional overhead of a Web Server
After talking about the architecture of WebServices and its advantages and disadvantages, let's start with the topic:
Web Service downgrading in Delphi
In other words, we will explain it with A simple example of verifying the Attribute of WebMethod: it is A simple business process for transferring money from customer A to Customer B.
First, create a WebService under. NET FrameWork1.1. At this time,. net will automatically create a Web application.
We need to create a class AttributeTest, which is under the NameSpace AttributeTesting, then this class will automatically inherit its base class System. web. services. when you need to pay for a WebService, we can set its WebServiceAttribute for this Web application class. The basic attributes include Description and NameSpace.

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.