读书人

Windows上WSLD命令编译生成CPP文件不成

发布时间: 2013-01-07 10:02:24 作者: rapoo

Windows下WSLD命令编译生成CPP文件不成功
进入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 不知道我哪一步做的不对?
[解决办法]
“-”和“”不是一回事!

关于自己是否适合编程的很简单的测试:
在报纸或杂志上随便找一段约1000字的文章,在Word中输入一遍。输完后再参考下面答案:

A里面有10处以上文字或标点错误
B里面没有文字或标点错误并敢为此跟人打赌
C里面没有文字或标点错误并且字体和排版完全与原稿一致
D打印在半透明的纸上和原稿重叠在一起检查一模一样,且自我感觉很有成就感

A不适合编程(理由:打字准确度偏低、粗心大意)
B初级程序员(理由:打字准确度很高、认真细致、自信、理解全角半角概念)
C高级程序员(理由:在B的基础上理解字体和排版也是电脑打印的重要因素、但相比D还不够偏执、精益求精、结果可验证)
D软件项目经理(理由:能针对项目给出令人信服的细致到极点的需求说明和典型测试用例。用户几乎挑不出毛病。专业!)

如果想从A变成B的话,到我的资源http://download.csdn.net/detail/zhao4zhong1/4084259里面下载“适合程序员的键盘练习”

读书人网 >C++

热点推荐