使用gSoap根据wsdl文件生成头文件报错 Error -1 fault: SOAP-ENV:Client [no subcode]

近来我在linux上使用gSoap,根据客户提供的WSDL文件生成头文件的时候,不知什么原因老报错,信息如下:

[root@Centos6-5-64bit usertools]# wsdl2h  -o AAAserver.h AAAserver.wsdl

**  The gSOAP WSDL/Schema processor for C and C++, wsdl2h release 2.8.16
**  Copyright (C) 2000-2013 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 licenses:
**  GPL or the commercial license by Genivia Inc. Use option -l for details.

Saving AAAserver.h

Cannot open file 'typemap.dat'
Problem reading type map file 'typemap.dat'.
Using internal type definitions for C++ instead.


Reading file 'AAAserver.wsdl'...
Warning: unexpected element 'xsd:element' at level 4 is skipped (safe to ignore)
Warning: unexpected element 'xsd:element' at level 4 is skipped (safe to ignore)
Warning: unexpected element 'xsd:element' at level 4 is skipped (safe to ignore)
Warning: unexpected element 'xsd:element' at level 4 is skipped (safe to ignore)
Warning: unexpected element 'xsd:element' at level 4 is skipped (safe to ignore)
Warning: unexpected element 'xsd:element' at level 4 is skipped (safe to ignore)
Warning: unexpected element 'wsdl:message' at level 2 is skipped (safe to ignore)
Warning: unexpected element 'wsdl:message' at level 2 is skipped (safe to ignore)
Warning: unexpected element 'wsdl:message' at level 2 is skipped (safe to ignore)
Warning: unexpected element 'wsdl:message' at level 2 is skipped (safe to ignore)
Warning: unexpected element 'wsdl:message' at level 2 is skipped (safe to ignore)
Warning: unexpected element 'wsdl:message' at level 2 is skipped (safe to ignore)
Warning: unexpected element 'wsdl:message' at level 2 is skipped (safe to ignore)
Warning: unexpected element 'wsdl:message' at level 2 is skipped (safe to ignore)
Warning: unexpected element 'wsdl:portType' at level 2 is skipped (safe to ignore)
Warning: unexpected element 'wsdl:binding' at level 2 is skipped (safe to ignore)
Warning: unexpected element 'wsdl:service' at level 2 is skipped (safe to ignore)

An error occurred while parsing WSDL from 'AAAserver.wsdl'
Error -1 fault: SOAP-ENV:Client [no subcode]
"End of file or no input: Operation interrupted or timed out"
Detail: [no detail]

不知道什么原因,请教各位大牛

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页