delphimvcframework/samples/soaprest/webservices/soap/SOAPCustomerIntfU.pas
Tristan Marlow 80a0bc8f8c MVCFramework option for unhandled actions
ObjectMappers DataSetToObject support boolean types
Sample\SoapRest Example application server providing both SOAP and REST webservices
2015-12-02 11:14:15 +08:00

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.