Try OpenEdge Now
skip to main content
Open Client Introduction and Programming
Generating Proxies and Web Service Definitions : Getting started with ProxyGen : Generating an Open Client proxy or Web service definition
 

Generating an Open Client proxy or Web service definition

Open Client interface generation validates the information in the project file against the AppServer r-code and then generates the specified Open Client proxies and/or SOAP Web service definition. If you make subsequent changes to the AppServer code after the project file is saved and then run ProxyGen to regenerate, ProxyGen automatically incorporates the changes based on a set of rules. For details, see Validating and generating an Open Client proxy or Web service definition.
If this automatic update does not produce acceptable results, you must run ProxyGen and update the Open Client interface definition manually. In addition, as AppServer procedure files are created or deleted, you must update the definition of the Open Client interface. Then, you can generate the Open Client proxy or Web service definition from the newly saved project file using either ProxyGen or Batch ProxyGen.
Note: ProxyGen uses information in the headers of r-code files to generate proxies. Starting in OpenEdge Release 10.1C, the headers include new information to better support XML features. In particular, if the r-code includes a ProDataSet with a NAMESPACE-URI attribute, the header includes a header version number that is independent of the r-code version. When the header version number is present, you cannot use the r-code file with the ProxyGen from a previous release. Versions of ProxyGen before Release 10.1C misread this new element as an unknown code page and return an error.