C++????WebService
???????????? ???????[ 2014/9/18 13:12:37 ] ??????????????? Net
????1. gSOAP??????????????????????????????c/c++?????SOAP?????????????????????????xml??SOAPЭ??????
????wsdl2h.exe: ????wsdl???????c/c++????
????-o ?????????????????
????-n ??????? ????????ns
????-c ??????C??????????C++????
????-s ??????STL????
????-t ??????????type map?????????typemap.dat
????-e ????enum??????????????
????soapcpp2.exe: gSOAP?????????????????????????????????????c/c++???????????STL?????stlvector.h??
????-C ?????????????
????-S ????????????????
????-L ???????soapClientLib.c??soapServerLib.c???
????-c ??????C??????????C++????(???????й?)
????-I ???import·???????????
????-x ???????XML??????
????-i ????C++???????????xxxxProxy.h(.cpp)???????????xxxxService.h(.cpp)
????2. ??????????????????
????wsdl2h -o xx.h http://192.168.40.8:88/GMM?wsdl
???????? wsdl2h -o xx.h http://js.gps163.com:8994/Server/CsService.svc?wsdl
????soapcpp2 -C -L -x -i xx.h ??soapcpp2 xx.h -C -I D:gsoap-2.7gsoapimport??
????3. ???????????????????????
????soapStub.h??soapH.h??stdsoap2.h
????soapC.cpp??soapClient.cpp??stdsoap2.cpp
????soapBasicHttpBinding_USCOREIGMMProxy.cpp
????soapBasicHttpBinding_USCOREIGMMProxy.cpp
????BasicHttpBinding_USCOREIGMM.nsmap
????wsock32.lib
????4. ????
#include "soapBasicHttpBinding_USCOREIGMMProxy.h"
#include "BasicHttpBinding_USCOREIGMM.nsmap"
//?????????ò?????????
//struct soap xxSoap;
//soap_init(&xxSoap);
//?????????
xxWebServiceSoap xxProxy;
//????????
//SOAP_ENV__Header envHeader;
//xxProxy.soap->header = &envHeader;
//web???????
_ns1__xx xx;
//web??????????
_ns1__xxResponse xxResponse;
//????WebService????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11