- Extract the source zip package to a folder.
- If you want to install WSO2 WSF/C++ in a location other than the default, wso2-wsf-cpp-bin-x.x.x-win32,
set WSFCPP_HOME environment variable pointing to the location where you want to install WSO2 WSF/C++.
> set WSFCPP_HOME='your_desired_path_to_wsf_c++_installation'
- Then go to the folder where you extracted the source.
> cd your_path_to_wsf_c++_source
- Edit the Configuration
* Edit configure.in found in the folder where you extracted the source.
The configure.in file contains the user specific configuration parameters. Please have a look at
this file and set the settings to match your system's settings. Settings for Apache Axis2/C are
mandatory. Settings for Apache Rampart/C and Apache Sandesha2/C are optional and needs to be set
only if you want to build those. The comments in the configure.in file explain each setting,
please have a look at the comments to get an understanding on what each setting means.
- Build the source
* Run build.bat batch file found in the folder where you extracted the source.
> build.bat
Note: You may need to set the PATH environment variable to vcvars32.bat if Windows complains
that it cannot find this batch file when running the build.bat file
- You need to add the path to lib directory to the PATH variable (%WSFCPP_HOME%\lib)
> set PATH=%PATH%;%WSFCPP_HOME%\lib
- Go to where you installed WSO2 WSF/C++. Start simple axis server
* To start the simple axis server on port 9090 run the following commands
> cd "%WSFCPP_HOME%\bin"
> axis2_http_server.exe
* If the server fails to start, you may need to set the WSFCPP_HOME environment variable, pointing
to the deploy folder (C:\wsfcpp)
> set WSFCPP_HOME='C:\wsfcpp'
To see the possible command line options run axis2_http_server.exe -h
If the server is running successfully you should see the message
"Started Simple Axis2 HTTP Server..."
Now you are ready to use WSO2 WSF/C++.