Try OpenEdge Now
skip to main content
Open Client Introduction and Programming
Generating Proxies and Web Service Definitions : Validating and generating an Open Client proxy or Web service definition : Open Client interface validation : How validation works
 
How validation works
Open Client interface validation does the following:
*Verifies the selected procedure files exist on disk, and if it does not, removes the procedure from the Open Client interface definition
*Compares any customizations made for procedures against the actual r-code and synchronizes them according to the following rules:
*If a parameter for a procedure in the project file matches a parameter in the r-code by name and data type, any customizations for the parameter are maintained. Otherwise the parameter is assumed to be new, and the default setting is used to determine whether the client can use the parameter to pass an Unknown value (?). If you remove the parameter, it is removed from the interface.
*If an internal procedure or user-defined function in the project file matches an internal procedure or user-defined function in the r-code by name and type (where type is whether it is a procedure or function), any customizations are maintained. Otherwise the internal procedure or user-defined function is assumed to be new, and it is assigned all default definition settings (method name, description, and so on).
*Validates the method and parameter names and verifies all method names are unique within each Open Client interface object, and that parameter names are unique for each method
Note: While you can override method names in ProxyGen, you cannot override parameter names.
*Verifies all object names are unique within the Open Client interface
*Logs discrepancies, errors, and reconciliations to the activity log