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

Validating and generating an Open Client proxy or Web service definition

ProxyGen allows you to validate and generate an Open Client interface in one step. Once a project file is saved, you can generate the Open Client proxy, Web, or Sonic ESB service definition by choosing File® Generate from the menu bar. You can also choose the Generate button from the toolbar. Both options display the Generate Proxies dialog box, from which you can then choose the OK button to generate the Open Client interface.
During generation, the list of procedures is validated against the r-code files available on disk. If the r-code for any procedure cannot be found, ProxyGen automatically removes that procedure from the Open Client interface definition and records this action in an activity log file (AppObject.log). ProxyGen picks up all prototype changes and reconciles these changes (such as new or removed parameters) with existing customizations. ProxyGen records all such significant reconciliations in the activity log. This continues until all the procedures are validated. For the available r-code files, the Open Client proxy or SOAP Web service definition is then generated with any specified customizations.
Caution: (Java only) On Windows platforms, a compiler error might result if you generate a Java proxy, change the case of an AppObject, SubAppObject, or ProcObject name, and then regenerate the proxy without first deleting the old proxy files.
The following sections summarize the actions and rules that govern:
*OpenClient interface validation
*OpenClient interface generation
* Open Client interface validation
* Open Client interface generation