Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save improve100/624cf35fd50b89abd934be4125488211 to your computer and use it in GitHub Desktop.
Save improve100/624cf35fd50b89abd934be4125488211 to your computer and use it in GitHub Desktop.
webservice gsoap c++ completion steps
服务端:
/usr/local/gSOAP/bin/wsdl2h -o calc.h http://www.genivia.com/calc.wsdl 从链接中生成
/usr/local/gSOAP/bin/wsdl2h -o calc.h calc.wsdl 从现有文件中生成
/usr/local/gSOAP/bin/soapcpp2 -i -Iimport calc.h 编译生成文件
c++ -o calcserver calcserver.cpp stdsoap2.cpp soapC.cpp soapcalcService.cpp
客户端
g++ -o calcclient calcclient.cpp soapC.cpp soapcalcProxy.cpp stdsoap2.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment