C++ webservice

https://blog.csdn.net/hik_zxw/article/details/47167265

https://blog.csdn.net/lixiang987654321/article/details/50932256

https://blog.csdn.net/educast/article/details/12653069

 

自己编写的.h头文件中函数名要带上 ns_,比如int ns__Add(int nNum1, int nNum2, int* pResult);

这样使用soapcpp2.exe生成服务器需要的文件中就会包含 ns.nsmap ,在stdsoap2.cpp中要包含 ns.nsmap,就能避免出现链接错误nsspaces。

 

posted @ 2019-01-15 20:05  征服1  阅读(163)  评论(0)    收藏  举报