Delphi - сбориник статей


Секция Interface


Interface

uses System.Diagnostics, System.Xml.Serialization, System.Web.Services.Protocols, System.ComponentModel, System.Web.Services, System.Web.Services.Description;

type TDollarRate = class; TArrayOfTDollarRate = array of TDollarRate; /// <remarks/> [System.Diagnostics.DebuggerStepThroughAttribute] [System.ComponentModel.DesignerCategoryAttribute('code')] [System.Web.Services.WebServiceBindingAttribute(Name='TWebService1Soap', Namespace='http://tempuri.org/')] TWebService1 = class(System.Web.Services.Protocols.SoapHttpClientProtocol) /// <remarks/> public constructor Create; /// <remarks/> [System.Web.Services.Protocols.SoapDocumentMethodAttribute( 'http://tempuri.org/HelloWorld', RequestNamespace='http://tempuri.org/', ResponseNamespace='http://tempuri.org/', Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] function HelloWorld: string; /// <remarks/> function BeginHelloWorld(callback: System.AsyncCallback; asyncState: System.Object): System.IAsyncResult; /// <remarks/> function EndHelloWorld(asyncResult: System.IAsyncResult): string; /// <remarks/> [System.Web.Services.Protocols.SoapDocumentMethodAttribute( 'http://tempuri.org/IntegerSubstract', RequestElementName='IntegerSubstract', RequestNamespace='http://tempuri.org/', ResponseElementName='IntegerSubstractResponse', ResponseNamespace='http://tempuri.org/', Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] [result: System.Xml.Serialization.XmlElementAttribute('IntegerSubstractResult')] function Substract(a: Integer; b: Integer): Integer; overload; /// <remarks/> function BeginSubstract(a: Integer; b: Integer; callback: System.AsyncCallback; asyncState: System.Object): System.IAsyncResult; /// <remarks/> function EndSubstract(asyncResult: System.IAsyncResult): Integer; /// <remarks/> [System.Web.Services.WebMethodAttribute(MessageName='Substract1')] [System.Web.Services.Protocols.SoapDocumentMethodAttribute( 'http://tempuri.org/FloatSubstract', RequestElementName='FloatSubstract', RequestNamespace='http://tempuri.org/', ResponseElementName='FloatSubstractResponse', ResponseNamespace='http://tempuri.org/', Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] [result: System.Xml.Serialization.XmlElementAttribute('FloatSubstractResult')] function Substract(a: System.Single; b: System.Single): System.Single; overload; /// <remarks/> function BeginSubstract1(a: System.Single; b: System.Single; callback: System.AsyncCallback; asyncState: System.Object): System.IAsyncResult; /// <remarks/> function EndSubstract1(asyncResult: System.IAsyncResult): System.Single; /// <remarks/> [System.Web.Services.Protocols.SoapDocumentMethodAttribute( 'http://tempuri.org/GetRatesForDays', RequestNamespace='http://tempuri.org/', ResponseNamespace='http://tempuri.org/', Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] function GetRatesForDays(ADays: Integer): TArrayOfTDollarRate; /// <remarks/> function BeginGetRatesForDays(ADays: Integer; callback: System.AsyncCallback; asyncState: System.Object): System.IAsyncResult; /// <remarks/> function EndGetRatesForDays(asyncResult: System.IAsyncResult): TArrayOfTDollarRate; end;

/// <remarks/> [System.Xml.Serialization.XmlTypeAttribute(Namespace='http://tempuri.org/')] TDollarRate = class /// <remarks/> public Cost: Integer; /// <remarks/> Date: string; end;




Начало