admin 管理员组

文章数量: 1184232


2024年3月9日发(作者:快速排序的最好方法)

wsdl2h解析器和soapcpp2编译器选项介绍

1、wsdl2h(利用wsdl文件生成对应的h文件)用法

Usage: wsdl2h [-a] [-c] [-d] [-e] [-f] [-g] [-h] [-I path] [-j] [-l] [-m] [-n na

me] [-N name] [-p] [-q name] [-r proxyhost:port] [-s] [-t ] [-u]

[-v] [-w] [-x] [-y] [-z] [-o outfile.h] ...

wsdl2h常用选项

-o 文件名,指定输出头文件

-n 名空间前缀 代替默认的ns

-c 产生纯C代码,否则是C++代码

-s 不要使用STL代码

-t 文件名,指定type map文件,默认为

-e 禁止为enum成员加上名空间前缀

-a generate indexed struct names for local elements with anonymous

types

-c generate C source code

-d use DOM to populate xs:any and xsd:anyType elements

-e don't qualify enum names

-f generate flat C++ class hierarchy

-g generate global top-level element declarations

-h display help info

-Ipath use path to find files

-j don't generate SOAP_ENV__Header and SOAP_ENV__Detail definitions

-l include license information in output

-m use xsd.h module to import primitive types

-nname use name as the base namespace prefix instead of 'ns'

-Nname use name as the base namespace prefix for service namespaces

-ofile output to file


本文标签: 文件 排序 代码 空间 前缀