1WSDL2H(1) General Commands Manual WSDL2H(1)
2
3
4
6 wsdl2h - the gSOAP WSDL/WADL/XSD processor for C and C++
7
9 wsdl2h [OPTIONS] SOURCE ...
10
12 Please see /usr/share/doc/gsoap-doc/soapdoc2.html for details.
13
14 Converts a WSDL or XSD input file, or from an HTTP address, SOURCE to a
15 declaration file that can be parsed by soapcpp2(1). If no SOURCE argu‐
16 ment is specified, read from standard input.
17
19 -a Generate indexed struct names for local elements with anonymous
20 types.
21
22 -b Bi-directional operations (duplex ops) added to serve one-way
23 responses.
24
25 -c Generate C source code.
26
27 -c++ Generate C++ source code (default).
28
29 -c++11 Generate C++11 source code.
30
31 -D Make attribute members with default/fixed values optional with
32 pointers.
33
34 -d Use DOM to populate xs:any, xs:anyType and xs:anyAttribute.
35
36 -e Do not qualify enum names.
37
38 -F Add transient members to structs to simulate struct-type deriva‐
39 tion in C.
40
41 -f Generate flat C++ class hierarchy by removing inheritance.
42
43 -g Generate global top-level element and attribute declarations.
44
45 -h Display help info and exit.
46
47 -Ipath Use path to locate WSDL and XSD files.
48
49 -i Do not import (advanced option).
50
51 -j Do not generate SOAP_ENV__Header and SOAP_ENV__Detail defini‐
52 tions.
53
54 -k Do not generate SOAP_ENV__Header mustUnderstand qualifiers.
55
56 -L Generate less documentation by removing generic @note comments.
57
58 -l Display license information.
59
60 -M Suppress error "must understand element with
61 wsdl:required='true'".
62
63 -m Use xsd.h module to import primitive types.
64
65 -Nname Use name for service prefixes to produce a service for each
66 binding.
67
68 -nname Use name as the base namespace prefix instead of ns.
69
70 -O1 Optimize by omitting duplicate choice/sequence members.
71
72 -O2 Optimize -O1 and omit unused schema types (unreachable from
73 roots).
74
75 -O3 Optimize -O2 and omit unused schema root attributes.
76
77 -O4 Optimize -O3 and omit unused schema root elements (use only with
78 WSDLs).
79
80 -ofile Output to file file.
81
82 -P Do not create polymorphic types inherited from xsd__anyType.
83
84 -p Create polymorphic types inherited from base xsd__anyType.
85
86 -qname Use name for the C++ namespace of all declarations.
87
88 -R Generate REST operations for REST bindings specified in a WSDL.
89
90 -rhost[:port[:uid:pwd]]
91 Connect via proxy host, port and proxy credentials uid and pwd.
92
93 -r:uid:pwd
94 Connect with authentication credentials uid and pwd.
95
96 -Sname Use name instead of soap for the C++ class members with soap
97 contexts.
98
99 -s Do not generate STL code (no std::string and no std::vector).
100
101 -tfile Use type map file file instead of the default file typemap.dat.
102
103 -U Allow UTF-8-encoded Unicode C/C++ identifiers when mapping XML
104 tag names.
105
106 -u Do not generate unions.
107
108 -V Display the current version and exit.
109
110 -v Verbose output.
111
112 -W Suppress warnings.
113
114 -w Always wrap response parameters in a response struct (<=1.1.4
115 behavior).
116
117 -x Do not generate _XML any/anyAttribute extensibility elements.
118
119 -y Generate typedef synonyms for structs and enums.
120
121 -z1 Compatibility with 2.7.6e: Generate pointer-based arrays.
122
123 -z2 Compatibility with 2.7.7 to 2.7.15: Qualify element/attribute
124 references.
125
126 -z3 Compatibility with 2.7.16 to 2.8.7: Qualify element/attribute
127 references.
128
129 -z4 Compatibility up to 2.8.11: Do not generate union structs in
130 std::vector.
131
132 -z5 Compatibility up to 2.8.15: Do not include minor improvements.
133
134 -z6 Compatibility up to 2.8.17: Do not include minor improvements.
135
136 -z7 Compatibility up to 2.8.59: Do not generate std::vector of class
137 of union.
138
139 -_ Do not generate _USCORE (replace with Unicode code point
140 _x005f).
141
143 soapcpp2(1).
144
146 This manual page was written by Thomas Wana <greuff@debian.org>, for
147 the Debian project (but may be used by others).
148
149
150
151 December 23, 2004 WSDL2H(1)