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:

Table 1.
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 uses 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 Specify generation settings.