WSDL2H(1)
π NAME π
wsdl2h β the gSOAP WSDL/WADL/XSD processor for C and C++. bestie. it literally takes your WSDL/WADL/XSD and makes it into C/C++ that you can actually use. iconic behavior honestly.
π¦ SYNOPSIS π¦
wsdl2h [OPTIONS] SOURCE ...
πΈ DESCRIPTION πΈ
okay so here's the whole vibe: it converts a WSDL or XSD input file β or an HTTP address β that you pass as SOURCE, and turns it into a declaration file that soapcpp2(1) can then parse. that's the pipeline, that's the whole point, that's the main character arc. β¨
and if you're out here giving it zero SOURCE arguments? it just reads from standard input. no source, no problem. π
β¨ OPTIONS β¨
like. there are a LOT of these. all of them are real, all of them matter, so we're doing all of them. buckle up bestie π
-aβ Generate indexed struct names for local elements with anonymous types.-bβ Bi-directional operations (duplex ops) added to serve one-way responses.-cβ Generate C source code.-c++β Generate C++ source code (this one's the default, fyi π).-c++11β Generate C++11 source code.-c++14β Generate C++14 source code.-c++17β Generate C++17 source code.-Dβ Make attribute members with default/fixed values optional with pointers.-dβ Use DOM to populatexs:any,xs:anyTypeandxs:anyAttribute.-eβ Do not qualify enum names.-Fβ Add transient members to structs to simulate struct-type derivation in C.-fβ Generate flat C++ class hierarchy by removing inheritance.-gβ Generate global top-level element and attribute declarations.-hβ Display help info and exit. (the classic escape hatch π«Ά)-Ipathβ Use path to locate WSDL and XSD files.-iβ Do not import (advanced option, so likeβ¦ respect the gatekeep πͺ).-jβ Do not generateSOAP_ENV__HeaderandSOAP_ENV__Detaildefinitions.-kβ Do not generateSOAP_ENV__HeadermustUnderstandqualifiers.-Lβ Generate less documentation by removing generic@notecomments.-lβ Display license information.-Mβ Suppress error "must understand element withwsdl:required='true'".-mβ Usexsd.hmodule to import primitive types.-Nnameβ Use name for service prefixes to produce a service for each binding.-nnameβ Use name as the base namespace prefix instead ofns.-O1β Optimize by omitting duplicate choice/sequence members.-O2β Optimize-O1and omit unused schema types (unreachable from roots).-O3β Optimize-O2and omit unused schema root attributes.-O4β Optimize-O3and omit unused schema root elements (use only with WSDLs, ok? not a drill π₯).-Ow2β Optimize-O2while retaining all derived types of used base types.-Ow3β Optimize-O3while retaining all derived types of used base types.-Ow4β Optimize-O4while retaining all derived types of used base types.-ofileβ Output to file file.-Pβ Do not create polymorphic types inherited fromxsd__anyType.-pβ Create polymorphic types inherited from basexsd__anyType.-Qβ Makexsd__anySimpleTypeequal toxsd__anyTypeto use as the base type.-qnameβ Use name for the C++ namespace of all declarations.-Rβ Generate REST operations for REST bindings specified in a WSDL.-rhost[:port[:uid:pwd]]β Connect via proxy host, port and proxy credentials uid and pwd.-r:uid:pwdβ Connect with authentication credentials uid and pwd.-Snameβ Use name instead ofsoapfor the C++ class members with soap contexts.-sβ Do not generate STL code (nostd::stringand nostd::vector). old school, love that for you π§-tfileβ Use type map file file instead of the default filetypemap.dat.-Uβ Allow UTF-8-encoded Unicode C/C++ identifiers when mapping XML tag names.-uβ Do not generate unions.-Vβ Display the current version and exit.-vβ Verbose output. (say more, king π£οΈ)-Wβ Suppress warnings.-wβ Always wrap response parameters in a response struct (<=1.1.4behavior).-Xβ Do not qualify part names to disambiguate doc/lit wrapped patterns.-xβ Do not generate_XMLany/anyAttribute extensibility elements.-yβ Generate typedef synonyms for structs and enums.-z1β Compatibility with2.7.6e: Generate pointer-based arrays.-z2β Compatibility with2.7.7-2.7.15: (un)qualify element/attribute references.-z3β Compatibility with2.7.16-2.8.7: (un)qualify element/attribute references.-z4β Compatibility up to2.8.11: Do not generate union structs instd::vector.-z5β Compatibility up to2.8.15: Do not include minor improvements.-z6β Compatibility up to2.8.17: Do not include minor improvements.-z7β Compatibility up to2.8.59: Do not generatestd::vectorof class of union.-z8β Compatibility up to2.8.74: Do not generate qualifiers for doc/lit wrapped patterns.-z9β Compatibility up to2.8.93: Always qualify element/attribute references.-z10β Compatibility up to2.8.96: Generate qualifiers even when defined w/o namespace.-_β Do not generate_USCORE(replace with Unicode code point_x005f).
ngl the-z1through-z10lineup is literally a time machine π°οΈ β they're all "make it behave like this old version did" switches. if you don't need them, you don't need them. but they're all here and they're all real.
π SEE ALSO π
soapcpp2(1)β the next stop on the pipeline, the one that actually parses whatwsdl2hhands it. β¨
π AUTHOR π
This manual page was written by Thomas Wana <greuff@debian.org>, for the Debian project (but may be used by others). shoutout to the author fr fr π«Ά
okay that's the whole page, bestie!! π
this one lives in the General Commands Manual, and it's dated December 23, 2004 β yes, that's a real date from way back, and it still ate. <rainbow>WSDL2H(1), out. πβ¨π¦</rainbow>
π¦ where this page comes from
- debian bookworm: gsoap 2.8.124-2 Β· GPL-2.0-or-later WITH OpenSSL exception OR gSOAP-public-license
- debian trixie: gsoap 2.8.135-2 Β· GPL-2.0-or-later WITH OpenSSL exception OR gSOAP-public-license
- epel 10: gsoap-devel 2.8.135-1.el10_0 Β· GPL-2.0-or-later
- fedora 43: gsoap-devel 2.8.135-3.fc43 Β· GPL-2.0-or-later
- fedora 43: gsoap-devel 2.8.135-3.fc43 Β· GPL-2.0-or-later
- fedora 44: gsoap-devel 2.8.139-1.fc44 Β· GPL-2.0-or-later
- fedora 44: gsoap-devel 2.8.139-1.fc44 Β· GPL-2.0-or-later
- ubuntu noble: gsoap 2.8.132-2.1build2 Β· GPL-2.0-or-later WITH OpenSSL exception OR gSOAP-public-license
- ubuntu questing: gsoap 2.8.135-2
- ubuntu resolute: gsoap 2.8.139-1 Β· GPL-2.0-or-later WITH OpenSSL exception OR gSOAP-public-license
- ubuntu stonking: gsoap 2.8.142-2build1 Β· GPL-2.0-or-later WITH OpenSSL exception OR gSOAP-public-license
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms