Progress
Open Client
Developer’s Guide
Proxy Validation
Proxy validation occurs when:
- You choose File
Validate from the ProxyGen menu bar or the Validate button from the toolbar.
- You choose File
Generate from the ProxyGen menu bar or the Generate button from the toolbar.
- You run Batch ProxyGen on the saved project file.
- You edit a method or ProcObject definition (procedure or persistent procedure). Validation occurs only for the edited procedure.
Proxy validation does the following:
- Saves the proxy definition to the project file if the preference settings specify Save on Validate/Generate.
- Verifies that the selected procedure files exist on disk.
- 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 for allowing the 4GL unknown value.
- 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 is assigned all default definition settings (method name, description, and so on).
NOTE: While you can override method names in ProxyGen, you cannot override parameter names.- Validates the method and parameter names and verifies that all method names are unique within each proxy object and that parameter names are unique for each method.
- Verifies that all object names are unique within the proxy.
- Logs discrepancies, errors, and reconciliations to the activity log.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |