mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-16 16:25:54 +01:00
80a0bc8f8c
ObjectMappers DataSetToObject support boolean types Sample\SoapRest Example application server providing both SOAP and REST webservices
27 lines
586 B
ObjectPascal
27 lines
586 B
ObjectPascal
{ Invokable interface ISOAPCustomer }
|
|
|
|
unit SOAPCustomerIntfU;
|
|
|
|
interface
|
|
|
|
uses Soap.InvokeRegistry, System.Types, Soap.XSBuiltIns;
|
|
|
|
type
|
|
|
|
{ Invokable interfaces must derive from IInvokable }
|
|
ISOAPCustomer = interface(IInvokable)
|
|
['{9D4C2E66-F0AB-470E-9A48-2084DAD75FD3}']
|
|
function GetCustomers: string; stdcall;
|
|
{ Methods of Invokable interface must not use the default }
|
|
{ calling convention; stdcall is recommended }
|
|
end;
|
|
|
|
implementation
|
|
|
|
initialization
|
|
|
|
{ Invokable interfaces must be registered }
|
|
InvRegistry.RegisterInterface(TypeInfo(ISOAPCustomer));
|
|
|
|
end.
|