近来我在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]

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

Logo

更多推荐