进入gsoap目录
命令如下:
wsdl2h -s –o D:\Test\TestWebService.h
http://localhost:1251/WebService1/Service.asmx?wsdl
http://localhost:1251/WebService1/Service.asmx是我用vs2005发布的一个webservice
运行这个wsdl命令 后dos输出如下
** The gSOAP WSDL/Schema processor for C and C++, wsdl2h release 2.8.11
** Copyright (C) 2000-2012 Robert van Engelen, Genivia Inc.
** All Rights Reserved. This product is provided "as is", without any warranty.
** The wsdl2h tool is released under one of the following two licenses:
** GPL or the commercial license by Genivia Inc. Use option -l for details.
Saving –o.h
Cannot open file 'typemap.dat'
Problem reading type map file 'typemap.dat'.
Using internal type definitions for C++ instead.
Cannot open '–o'
在gsoap文件夹下生成了哥-o.h文件 但是大小事0 不知道我哪一步做的不对?