set path of E:\Sensys\Application Integration\WEb services\gsoap_2.8.3\gsoap-2.8\gsoap\bin\win32
cmd commands:
By default, gSOAP assumes you will use C++ with STL. To build without STL, use option -s:
wsdl2h -s -o calc.h http://www.genivia.com/calc.wsdl
soapcpp2 -i -C calc.h
Add the header files
#include "soapcalcProxy.h"
#include "calc.nsmap"
To complete the build, compile and link the generated soapC.cpp, soapcalcProxy.cpp, and the run-time gSOAP engine -lgsoap++ (or use source stdsoap2.cpp in case libgsoap++.a is not installed) with your code. in case, you use stdsoap2.cpp it will also need stdsoap2.h.
Still, it may ask soapH.h and soapStub.h. which created when you ran the command soapcpp2 -i -C calc.h. so, copy these files to the project directory. the project will automatically find it.
huh! That's it.
No comments:
Post a Comment