Batch ProxyGen runs on supported UNIX and Windows platforms. It allows you to generate Open Client proxies and/or a SOAP Web service definition based on the Open Client interface you defined in a project file created using ProxyGen.
To run Batch ProxyGen, enter the following command in the Windows or UNIX command prompt:
This validates the Open Client interface defined in the project file and generates the specified Open Client proxies and/or Web service definition.
If a very large proxy fails to build, the cause might be the length of the compile command line. Specifying the -useWildCard option shortens the command line by using a wildcard to include all .cs files in the proxy directories. If you use this option, you should specify an output directory that does not contain any .cs files. Any .cs files in the output directory are included in the proxy DLL.
If you specify the
-leaveproxyfiles option, Batch ProxyGen saves the generated proxy source files to the output directory specified in the project file. This option provides the same behavior as the
Leave Proxy Files check box in the ProxyGen
Generate Proxies and
Default Preferences dialog boxes. For more information, see
Specifyinggeneration settings.
The previous command syntax requires an OpenEdge project file (Release 10 or later). To convert a project file from Progress Version 9 to OpenEdge format, see
Converting a project file from Progress Version 9 to OpenEdge.