Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
HydraExpress Web Service Development Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

5.2 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:

for both a specified WDSL and an XML Schema. In addition, various generation options are available.

By default, rwsfgen generates code into a code generation 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:

For detailed information on the HydraExpress project file, see Section 21.2.



Previous fileTop of DocumentContentsIndex pageNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo are registered trademarks of Rogue Wave Software, and HydraExpress is a trademark of Rogue Wave Software. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.