This is your resource to discuss support topics with your peers, and learn from each other.
gSOAP is an open source C and C++ software development framework for SOAP/ XML.
This article demonstrates how to use gSoap in a Cascades™ C++ project. In order to do so, we will need to build the gSOAP LIB with BlackBerry® 10 Native SDK.
The instructions for compiling the gSOAP LIB for QNX/ARM on *nix and MAXOSX werementioned here:
I give big thanks to this article as a base for my article.
So I will give the instruction for Windows Developer. (From this post, http://supportforums.blackberry.com/t5/Cascades-Development/GSoap/td-p/2363127)
My instruction use CygWin to build and were tested with gSOAP 2.8.14
source /cygdrive/<your bbndk install drive>/<path to bbndk>/bbndk/bbndk-env.sh
export CPPFLAGS=" -D__QNXNTO__ -DWITH_OPENSSL -DWITH_GZIP -DWITH_COOKIES "
Please refer the readme within the gsoap source package if you wish to enable or disable other features.
./configure --host=arm-unknown-nto-qnx8.0.0eabi --prefix=/<path>/<to>/<install>/libgsoap
make | make install
There will be errors indicating that it cannot launch “soapcpp2”, which is expected, since the generated “soapcpp2” is targeted for QNX/ARM.
The gSoap build script tries to use this tool to compile files for building another tool “wsdl2h”, which, fortunately, we don’t need either.
Note: “soapcpp2” and “wsdl2h” are the tools needed for generate C/C++ stub. The gSoap source package already contains the prebuilt executables for Mac, Linux and Windows, which can be located under
Everything we need is located at:
The header we need is located in the include folder of that folder; the lib we need is located in the lib folder; all the extensions are located in the share folder.
There will be 6 libs:
The libs with name containing “++” are C++ libs.