Invoking the Code Generator
First, make sure that your environment is set up as described in Chapter 2, Setup in the HydraExpress User Guide.
Run rwsfgen. The HydraExpress code generator requires a project name and at least one file argument that specifies either a WSDL file or an XML Schema. Multiple file names may also be specified.
The general command line format for the generator is:
 
prompt> rwsfgen -projectname MyProject [other options] MyWSDL.wsdl MySchema.xsd
for both a specified WDSL and an XML Schema. In addition, various generation options are available.
By default, rwsfgen generates code into a project directory based on the provided project name, in which it creates subdirectories to contain the generated files. Generated files include server-side and client-side code if a WSDL file was passed as the file type , data type classes for an XML Schema, sample C++ applications that use the generated code, makefiles, MSVC project files (for Windows platforms), and documentation.
The generator also outputs a HydraExpress project file named projectname.xml (as identified with the argument -projectname) that contains all project elements for this particular project. This file may be used as a future sole argument to the code generator if you wish to regenerate code with the same options, like so:
 
prompt> rwsfgen MyProjectFile.xml
For detailed information on the HydraExpress project file, see The Project File.