To build the generated classes, use the generated makefile.
To build the implemented application files discussed in this chapter, copy the provided files soap_main.cpp, trade_main.cpp, and soap.xml into the soapExample\app\data directory before compiling, allowing them to overwrite the generated files of the same name.
On UNIX/Linux, you must set your RWSF_HOME environment variable before using the makefiles. On Windows, be sure you have run the script rwsfvars.bat, and set up your command window with the MSVC environment.
From the top-level code generation directory, invoke the following command:
Win32/MSVC | nmake |
UNIX/Linux | make |
This builds the shared library for all of your generated classes.
To build the libraries and the sample applications together, issue the make command and specify the sample soap and trade application targets:
Win32/MSVC | nmake soap_main.exe trade_main.exe |
UNIX/Linux | make soap_main trade_main |
The makefile builds any components created when the generator created the makefile, placing them into top-level bin and lib directories as follows:
Win32 |
/bin |
.exe |
/lib |
.lib | |
UNIX/Linux |
/bin |
.exe, .dll |
/lib |
.so |
To run the example, first make sure that your environment is set up as described in Chapter 2, "Setup," in the Introduction to HydraExpress. Change to the directory soapExample\bin, and run the soap_main or trade_main application at the command prompt, as shown here:
prompt> soap_main prompt> trade_main
© Copyright Rogue Wave Software, Inc. All Rights Reserved. All Rights Reserved. Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. HydraExpress is a trademark of Rogue Wave Software, Inc. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.