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 Use DOM to populate xs:any, xs:anyType and xs:anyAttribute.
32
33 -D Make attribute members with default values optional with point‐
34 ers.
35
36 -e Do not qualify enum names.
37
38 -f Generate flat C++ class hierarchy.
39
40 -g Generate global top-level element declarations.
41
42 -h Display help info.
43
44 -Ipath Use path to find files.
45
46 -i Do not import (advanced option).
47
48 -j Do not generate SOAP_ENV__Header and SOAP_ENV__Detail defini‐
49 tions.
50
51 -k Do not generate SOAP_ENV__Header mustUnderstand qualifiers.
52
53 -l Display license information.
54
55 -m Use xsd.h module to import primitive types.
56
57 -M Suppress error "must understand element with
58 wsdl:required='true'".
59
60 -Nname Use name for service prefixes to produce a service for each
61 binding.
62
63 -nname Use name as the base namespace prefix instead of ns.
64
65 -O1 Optimize by omitting duplicate choice/sequence members.
66
67 -O2 Optimize -O1 and omit unused schema types (unreachable from
68 roots).
69
70 -ofile Output to file file.
71
72 -P Do not create polymorphic types inherited from xsd__anyType.
73
74 -p Create polymorphic types inherited from base xsd__anyType.
75
76 -qname Use name for the C++ namespace of all declarations.
77
78 -R Generate REST operations for REST bindings specified in the
79 WSDL.
80
81 -rhost[:port[:uid:pwd]]
82 Connect via proxy host, port and proxy credentials.
83
84 -r:uid:pwd
85 Connect with authentication credentials (digest auth requires
86 SSL).
87
88 -s Do not generate STL code (no std::string and no std::vector).
89
90 -Sname Use name instead of soap for the C++ class members with soap
91 contexts.
92
93 -tfile Use type map file file instead of the default file typemap.dat.
94
95 -U Allow UTF8-encoded Unicode C/C++ identifiers when mapping XML
96 tag names.
97
98 -u Do not generate unions.
99
100 -V Display the current version and exit.
101
102 -v Verbose output.
103
104 -W Suppress warnings.
105
106 -w Always wrap response parameters in a response struct (<=1.1.4
107 behavior).
108
109 -x Do not generate _XML any/anyAttribute extensibility elements.
110
111 -y Generate typedef synonyms for structs and enums.
112
113 -z1 Compatibility with 2.7.6e: Generate pointer-based arrays.
114
115 -z2 Compatibility with 2.7.7 to 2.7.15: Qualify element/attribute
116 references.
117
118 -z3 Compatibility with 2.7.16 to 2.8.7: Qualify element/attribute
119 references.
120
121 -z4 Compatibility up to 2.8.11: Do not generate union structs in
122 std::vector.
123
124 -z5 Compatibility up to 2.8.15: Do not include minor improvements.
125
126 -z6 Compatibility up to 2.8.17: Do not include minor improvements.
127
128 -z7 Compatibility up to 2.8.59: Do not generate std::vector of class
129 of union.
130
131 -_ Do not generate _USCORE (replace with UNICODE _x005f).
132
134 soapcpp2(1).
135
137 This manual page was written by Thomas Wana <greuff@debian.org>, for
138 the Debian project (but may be used by others).
139
140
141
142 December 23, 2004 WSDL2H(1)