資源簡介
C++通過gSoap訪問webService接口
代碼片段和文件信息
//?Test.cpp?:?定義控制臺應用程序的入口點。
//
#include?“stdafx.h“
#include?“MessageServerSoap.nsmap“
#include?“soapMessageServerSoapProxy.h“
#include
#include
using?namespace?std;
int?main()
{
ns1__SendDuanXinResponse?ns1;
MessageServerSoapProxy?*proxy?=?new?MessageServerSoapProxy(“接口地址“);
proxy->SendDuanXin(NULLNULL“18380686789““abcdef““20123““123456“ns1);
printf(“%s“ns1.SendDuanXinResult);
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????56832??2015-11-30?15:38??C++通過gSoap訪問webService接口\C++通過gSoap訪問webService接口.doc
?????文件??????22482??2015-11-30?15:39??C++通過gSoap訪問webService接口\QQ截圖20151130153905.png
?????文件????????451??2015-11-30?15:10??C++通過gSoap訪問webService接口\Test.cpp
?????目錄??????????0??2015-11-30?15:39??C++通過gSoap訪問webService接口
-----------?---------??----------?-----??----
????????????????79765????????????????????4
- 上一篇:VC++演示GETPOST發送請求的HTTP客戶端
- 下一篇:get獲取網頁源代碼
評論
共有 條評論