Try OpenEdge Now
skip to main content
.NET Open Clients
Proxy Objects and Methods : Proxy methods : Remote ABL methods
 

Remote ABL methods

ProxyGen maps each ABL non-persistent procedure, internal procedure, and user-defined function exposed on the AppServer to a remote ABL method. These methods are part of an AppObject, SubAppObject, or ProcObject. ProxyGen generates method names using automatic conversion and conventions. For more information on proxy generation, see OpenEdge Development: Open Client Introduction and Programming.
A sample non-persistent procedure follows:
AddCustomer.p:
DEFINE INPUT PARAMETER name  AS CHARACTER.
DEFINE INPUT PARAMETER phone AS CHARACTER.
DEFINE INPUT PARAMETER email AS CHARACTER.
DEFINE OUTPUT PARAMETER CustomerNumber AS INTEGER.
. . .
ProxyGen generates the following .NET proxy method:
public void AddCustomer(string name, string phone, string email,
     out int CustomerNumber)
* Passing parameters
* Handling return values