XML-RPC-API2CPP(1)
β¨ xml-rpc-api2cpp β¨
okay bestie, pull up a chair, because this is a General Commands Manual entry and we're gonna make it cute π
πΈ NAME πΈ
xml-rpc-api2cpp β it makes a C++ wrapper class for an XML-RPC API, no cap π«Ά
π SYNOPSIS π
xml-rpc-api2cpp server-url remote-method-prefix c++-class-name
π¦ DESCRIPTION π¦
so like, xml-rpc-api2cpp goes and queries an XML-RPC server, right? and it uses the XML-RPC Introspection API designed by Edd Dumbill (iconic of him). then it prints a C++ wrapper class straight to standard output. that class is literally built to be used with xmlrpc-c's C++ API. slay β¨
and if you want a whole list of supported XML-RPC server libraries (plus patches for sooo many others), it's giving http://xmlrpc-c.sourceforge.net/hacks.php β go look, iykyk π
π OPTIONS π
server-urlβ the name of the server you wanna query. tryhttp://xmlrpc-c.sourceforge.net/cgi-bin/interop.cgiπremote-method-prefixβ the prefix of the methods you're wrapping. like, if you wanna wrap all thesystem.*calls, you'd pass"system". easy πc++-class-nameβ the name of the C++ class it's gonna generate. try"SystemProxy"π
π BUGS π
okay so, not everything is giving main character energy. listen up:
xml-rpc-api2cppcan't talk to certain PHP servers based on Edd Dumbill's PHP library, because the trailing bytes of the XML-RPC message get truncated in HTTP pipelining mode. and honestly? it's not clear whether this is a PHP bug, an Apache bug, or a w3c-libwww bug. nobody knows, bestie πxml-rpc-api2cppassumes that method descriptions are ASCII text, not HTML like the standard says. (in practice, both conventions are often seen, so like... it is what it is.) it may also get unhappy if method descriptions contain"*/". yeah. that'll do it π- in general, error messages and diagnostics are still fairly poor. lowkey tragic, highkey true π
π₯ SEE ALSO π₯
xmlrpc-c(7)xml-rpc-api2txt(1)
this program is part of xmlrpc-c π
β AUTHOR β
this manual page was written by Eric Kidd <eric.kidd@pobox.com>. it may be distributed under the same terms as the rest of xmlrpc-c π«Ά
and that's the whole page, bestie! go forth and wrap some APIs π
mwah π β page dated June 27, 2001, straight outta the General Commands Manual for xml-rpc-api2cpp, part of xmlrpc-c. bye babes! πΈβ¨
π¦ where this page comes from
- alpine 3.22: xmlrpc-c-doc 1.51.08-r5 Β· BSD-3-Clause AND MIT
- alpine 3.23: xmlrpc-c-doc 1.51.08-r5 Β· BSD-3-Clause AND MIT
- alpine 3.24: xmlrpc-c-doc 1.51.08-r5 Β· BSD-3-Clause AND MIT
- debian bookworm: xmlrpc-api-utils 1.33.14-11
- debian trixie: xmlrpc-api-utils 1.59.03-10 Β· BSD-3-Clause
- epel 10: xmlrpc-c-apps 1.60.04-2.el10_0 Β· LicenseRef-Callaway-BSD AND LicenseRef-Callaway-MIT
- fedora 43: xmlrpc-c-apps 1.60.04-4.fc43 Β· LicenseRef-Callaway-BSD AND LicenseRef-Callaway-MIT
- fedora 44: xmlrpc-c-apps 1.60.04-5.fc44 Β· LicenseRef-Callaway-BSD AND LicenseRef-Callaway-MIT
- ubuntu jammy: xmlrpc-api-utils 1.33.14-10
- ubuntu noble: xmlrpc-api-utils 1.33.14-12build2
- ubuntu questing: xmlrpc-api-utils 1.59.03-10.1
- ubuntu resolute: xmlrpc-api-utils 1.60.05-1 Β· BSD-3-Clause
- ubuntu stonking: xmlrpc-api-utils 1.60.05-1build1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms