Try OpenEdge Now
skip to main content
Open Client Introduction and Programming
Generating Proxies and Web Service Definitions : Getting started with ProxyGen : Running Batch ProxyGen

Running Batch ProxyGen

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:
bproxygen -xpxgfile project-filename.xpxg [ -useWildCard ]  [ -leaveproxyfiles ]
Where project-filename is the name and path of the OpenEdge project file containing the Open Client interface.
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.
* Differences on UNIX and Windows platforms