gsoap 命令

wsdl2h -cegxy -o UserService.h -t WS-typemap.dat Z:\F\ALMS\alms2.0\UserService.xml


wsdl2h -s -o UserService.h -t WS-typemap.dat Z:\F\ALMS\alms2.0\UserService.xml wsse.xsd
soapcpp2 -x -C -I wsse.h UserService.h




wsdl2h -o UserService.h -s -t WS-typemap.dat http://192.168.164.196:8080/alms/soa/UserService?wsdl
soapcpp2 -i -x -C UserService.h -I import


./wsdl2h -s -k -d  -t  WS-typemap.dat -o  UserService.h http://192.168.164.196:8080/alms/soa/UserService?wsdl


./soapcpp2 -L -2 -C -x UserService.h -I C:\gsoap_2.8.14\gsoap-2.8\gsoap\import
soapcpp2 -L -2 -C -x UserService.h -I import
//
 C:\gsoap_2.8.0\gsoap-2.8\gsoap\import
//




./wsdl2h  -s -c -k -d  -t  typemap.dat  -o  onvif.h actionengine.wsdl deviceio.wsdl event.wsdl ptz.wsdl remotediscovery.wsdl analyticsdevice.wsdl devicemgmt.wsdl imaging.wsdl receiver.wsdl replay.wsdl analytics.wsdl display.wsdl media.wsdl recording.wsdl search.wsdl onvif.xsd


./soapcpp2 -L -2 -C –c -x onvif.h  -I import




soap2.cpp里边该
ssleay32.lib
libeay32.lib
wsock32.lib






#import "wsse.h" // wsse = <http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd>


\\\\\\\\\\


     gsoap/dom.c
     gsoap/stdsoap2.c
     gsoap/stdsoap2.h
     gsoap/custom/duration.c
     gsoap/plugin/mecevp.c
     gsoap/plugin/mecevp.h
     gsoap/plugin/smdevp.c
     gsoap/plugin/smdevp.h
     gsoap/plugin/threads.c
     gsoap/plugin/threads.h
     gsoap/plugin/wsaapi.c
     gsoap/plugin/wsaapi.h
     gsoap/plugin/wsseapi.c
     gsoap/plugin/wsseapi.h
 
 
{"wsse", "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd", "http://docs.oasis-open.org/wss/oasis-wss-wssecurity-secext-1.1.xsd", NULL},

你可能感兴趣的:(C++,gsoap)