Kbase P98049: Open Client proxy is treating each procedure (internal or external) as a function rather than a meth
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  29/11/2004 |
|
Status: Unverified
FACT(s) (Environment):
OpenEdge 10.x
SYMPTOM(s):
Generating a proxy containing persistent procedures
Each internal procedure within the persistent procedure is being defined within the proxy as a function instead of a procedure
CAUSE:
In ProxyGen there is an option for each non-persistent procedure and internal procedure within a persistent procedure to have the proxy automatically return the value of the 4GL's RETURN-VALUE function when the procedure is called. Turning on this option for a procedure (internal or external) will automatically make it appear in the generated proxy as a function call rather than a straight method call.
FIX:
To turn a procedure (internal or external) back into a method call rather than a function call simply double click the .r file in ProxyGen to bring up the 'Customize...' dialog box then uncheck the 'Return 4GL RETURN-VALUE' option