根据描述文件生成.h文件
C:\opensource\gsoap_2.8.17\gsoap-2.8\gsoap\bin\win32>wsdl2h -c -o im_client.h ht
tp://machao/TuanDai.MobileSystem.WcfHost/Tuan.svc?wsdl
根据.h文件生成客户端,或者服务器的webservice代码
C:\opensource\gsoap_2.8.17\gsoap-2.8\gsoap\bin\win32>soapcpp2 -c -IC:\opensource\gsoap_2.8.17\gsoap-2.8\gsoap\import im_client.h -1
linux下编译静态库,和动态库
静态库
gcc -c *.c
ar cr *.a *.o
动态库
gcc -shared -fPIC -o dllname.so *.c
编译可执行文件,行dll的
gcc -o exe *.c -ldl
http://www.cnblogs.com/leaven/archive/2011/01/28/1947180.html 参考文章
http://blog.chinaunix.net/uid-27105712-id-3313327.html
http://blog.youkuaiyun.com/wangwenwen/article/details/7308073
C:\opensource\gsoap_2.8.17\gsoap-2.8\gsoap\bin\win32>wsdl2h -c -o im_client.h ht
tp://machao/TuanDai.MobileSystem.WcfHost/Tuan.svc?wsdl
根据.h文件生成客户端,或者服务器的webservice代码
C:\opensource\gsoap_2.8.17\gsoap-2.8\gsoap\bin\win32>soapcpp2 -c -IC:\opensource\gsoap_2.8.17\gsoap-2.8\gsoap\import im_client.h -1
linux下编译静态库,和动态库
静态库
gcc -c *.c
ar cr *.a *.o
动态库
gcc -shared -fPIC -o dllname.so *.c
编译可执行文件,行dll的
gcc -o exe *.c -ldl
http://www.cnblogs.com/leaven/archive/2011/01/28/1947180.html 参考文章
http://blog.chinaunix.net/uid-27105712-id-3313327.html
http://blog.youkuaiyun.com/wangwenwen/article/details/7308073