Kbase 19228: OPEN CLIENT: ProxyGen, Method Name Is A Reserved Word
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/16/2008 |
|
Status: Unverified
SYMPTOM(s):
When you generate proxies for an AppBuilder-generated SmartData Object (SDO), you might experience a problem with certain method/function names that cannot be used in a proxy.
In particular, Data.Calculate is not a valid name. When invalid names are found, you receive errors similar to the following in the proxies log file:
Checking method and parameter names ...
>>ERROR Method name is a reserved word or contains restricted
characters: DATA.CALCULATE (in AppObject: calc; ProcObject: dcalc)
Procedure file is: C:\Pro\91\dcalc.w
FIX:
The solution is to change the name of the offending procedure. In ProxyGen, select:
procedure menu item > Customize... > Internal Procs >
then find the procedure > Customize.. > Method Name.