Option | Effect |
-projectname name | Specify a name for the project. This option results in a HydraExpress project file named name. Required. |
no arguments or -help | Entering rwsfgen with no arguments, or with -h or with -help launches usage information or “help” for the rwsfgen program. The output lists all optional arguments included in this table. This is a command line option only. |
-noclean | Disable file and directory cleanup at the end of the code generation. This can be useful for troubleshooting. Default is -clean. |
-noclient | Do not generate client-side code or a sample application for the client. Default is -client. |
-nohtml | Do not generate HTML pages that document the generated classes. For large schemas, specifying this option may greatly reduce code generation time. Default is -html. |
-nomake | Do not generate a makefile. Default is -make. |
-nosample | Do not generate a sample client or a sample service implementation. Default is -sample. |
-noserver | Do not generate server-side code or a server implementation. Default is -server. |
-childTypeAttr | Control whether the xsi:Type attribute is present in the controlling child elements of complex types. Default is -nochildtypeattr. (Applicable only to schema types that appear in Web service messages.) |
-haltonerror -nohaltonerror | Control whether code generation halts when it encounters an error, or goes ahead and generates code. May be useful to ensure code generation for known schema errors (for instance, in the event that they occur in an unused part of the schema). Default is -haltonerror. |
-datamap | Specify file containing the datamap used for XML Schema to C++ datatypes. Note: This option overrides -sourcepro and -stl. See “Creating Customized Mappings,” in the HydraExpress XML Binding Development Guide. |
-logfilename <name> | Specify a name for the log file. Default is rwsfgen.log. |
-makefilename <name> | Specify a specific name for the generated makefiles. Useful to distinguish between makefile names if generating a project with multiple compilers. |
-maxgentypes <some_number> | Restrict the number of generated types to be included in a single library. This option is useful for very large, complex schemas that generate more types than some compilers and OS combinations can link. The provided argument specifies the number of types to be included in a single library, so that multiple libraries are created. |
-ordinalanonymous | Specify that anonymous types in the schema are named “AnonymousType_” with sequential numbering suffixes. This provides a workaround for deeply-nested anonymous definitions that may result in C++ and file name identifiers longer than a compiler or operating system allows. Default is -noordinalanonymous. |
-outdir <directory> | Put generated files in <directory>. Can be an absolute or a relative path. Default is to generate files in existing directory. |
-rwsfhome <path> | Specify the RWSF_HOME directory. |
-soapenc | Generate code for complex types in the SOAP encoding namespace. Default is -nosoapenc. |
-sourcepro1 | Map XML Schema types to SourcePro C++ classes. For a complete list of the SourcePro C++ type mappings, see Simple Types,” in the HydraExpress XML Binding Development Guide. Default is -nosourcepro. |
-stl | Use a type mapping based on Standard C++ Library classes rather than SourcePro C++ classes. This is the default. For a complete list of the STL type mappings, see “Simple Types,” in the HydraExpress XML Binding Development Guide. This is the default binding. Default is -stl. |
-standalone | Generate a sample standalone server for running the Web service independent of the HydraExpress Agent. Default is -nostandalone. |
-toplevelclasses -notoplevelclasses | By default, HydraExpress generates classes for the top-level elements in a schema. If the -notoplevelclasses is used, HydraExpress instead generates a convenience class, MySchemaStatics, that contains static variables of the element names so the corresponding type classes can easily marshal the elements. Default is -toplevelclasses. |
-whitespace | By default, the rwsf::XmlWriter created for marshaling datatypes eliminates all unnecessary whitespace. This improves performance but makes the document difficult to read. If your output documents need to be human readable, specify -whitespace to preserve whitespace such as line breaks and indentations. Default is -nowhitespace. |
-wrapped | Enable the wrapped style as described in “Wrapped Style Operations.” Default is -nowrapped. |
-verbose | Output informational messages to the console. Default is -noverbose. |
-version | Print the HydraExpress version number and exit. |