Created
June 22, 2018 05:23
-
-
Save improve100/624cf35fd50b89abd934be4125488211 to your computer and use it in GitHub Desktop.
webservice gsoap c++ completion steps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
服务端: | |
/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