KDWSDL2CPP(1)
π NAME π
okay so bestie, meet kdwsdl2cpp β it's KDAB's WSDL to C++ compiler. yes literally that. it takes your WSDL and hands you back C++ like it's nothing. iconic behavior honestly.
β¨ USAGE β¨
the way this works is you pick your vibe: header only, impl only, or both. here's the exact tea, three ways:
Header file:
kdwsdl2cpp [options] -o <headerfile> <wsdlfile>
Impl. file:
kdwsdl2cpp [options] -o <cppfile> -impl <headerfile> <wsdlfile>
Both files:
kdwsdl2cpp [options] -both <basefile> <wsdlfile>
π OPTIONS π
okay so this is the part where i need you to lock in, because every single one of these matters and i'm not letting you skim π«Ά
-h,-helpβ display this help and exit. a little "hey bestie here's what i can do" moment.-v,-versionβ display version. just the number, no drama.-s,-serviceβ name of the service to generate. like, which one. be specific.-o <file>β output the generated file into<file>. that's where the magic lands, bestie.-impl <headerfile>β generate the implementation(.cpp) file, and#include <headerfile>. so it knows who its header bestie is.-both <basefilename>β generate both the header(.h) and the implementation(.cpp) file. two for one, we love a bundle β¨-serverβ generate server-side base class, instead of client service. pick your side of the conversation.-exportMacro <macroname>β set the export declaration to use for generated classes.-namespace <ns>β put all generated classes into the given C++ namespace. they all move into the same apartment π-namespaceMapping <mapping>β add theuri=codemapping. if<mapping>begins with'@', read from file instead, one entry per line. (this one affects the generated class names, so heads up π)-optional-element-type <type>β use<type>as the getter return value for optional elements.<type>can be eitherraw-pointer,boost-optionalorstd-optional. three options, no in-between.-keep-unused-typesβ keep the wsdl unused types to the cpp generation step. yeah, even the ones nobody's using. we're not ghosting them π-import-path <importpath>β search for files first in this path before downloading them. may be specified multiple times. the file needs to be located at:<importpath>/<url-host>/<url-path>. write that path down fr fr.-use-local-files-onlyβ only use local files instead of downloading them automatically. this can be used to force the correct use of the import-path option. no internet, only vibes π¦-help-on-missingβ When groups or basic types could not be found, display available types (helps with wrong namespaces). it's giving "here's what i do have" energy, and honestly it's so helpful when your namespace is a mess.-pkcs12fileβ Load a certificate from a PKCS12 file. You can use this option if the WSDL file (or files refering to it) is served from a location which require certificate based authentication. fancy locked-door situation π-pkcs12passwordβ Pass the password for the certificate file if required.
β οΈ okay this next part is serious, no jokes: this option is not secure and should be used with caution if other users of the machine are capable to see the running processes ran by the current user. like, they can literally read it off the process list. protect yourself bestie π
π AUTHORS π
kdwsdl2cpp was written by Tobias Koenig <tokoe@kde.org>.
This manual page was written by Thomas Pierson <contact@thomaspierson.fr> for the Debian system (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 any later version published by the Free Software Foundation.
okay and that's the whole page, you ate that πΈ this was KDAB's WSDL to C++ compiler, version 2.1, from October 2020 β go compile something cute, mwah ππ§ββοΈ
π¦ where this page comes from
- debian bookworm: libkdsoap-bin 1.9.1+dfsg-5 Β· LGPL-2.1-only OR LGPL-3.0-only
- ubuntu jammy: libkdsoap-bin 1.9.1+dfsg-5ubuntu1 Β· LGPL-2.1-only OR LGPL-3.0-only
- ubuntu noble: libkdsoap-bin 1.9.1+dfsg-5ubuntu3 Β· LGPL-2.1-only OR LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms