xmlrpc_transport transports data to a server as if to make an XML-RPC remote procedure call and displays the response from the server.
You supply the call in XML form on Standard Input and get the response in XML form on Standard Output. xmlrpc_transport doesn't really know anything about XML; it sends the characters you supply and displays the characters it gets back.
xmlrpc_transport uses the lower levels of the XML-RPC For C/C++ client libraries.
This program is mainly useful for debugging and learning about XML-RPC servers and the XML-RPC For C/C++ client XML transports.
$ xmlrpc_transport http://localhost:8080/RPC2 <<-EOF <?xml version="1.0" encoding="UTF-8"?> <methodCall> <methodName>sample.add</methodName> <params> <param><value><i4>5</i4></value></param> <param><value><i4>7</i4></value></param> </params> </methodCall> EOF <?xml version="1.0" encoding="UTF-8"?> <methodResponse> <params> <param><value><i4>12</i4></value></param> </params> </methodResponse>
xmlrpc_transport url [-transport=transportname] [-username=username -password=password]
Minimum unique abbreviation of option is acceptable. You may use double hyphens instead of single hyphen to denote options. You may use white space in place of the equals sign to separate an option name from its value.
The name transportname is one that the Xmlrpc-c programming library recognizes. This is typically libwww, curl, and wininet.
By default, xmlrpc_transport lets the Xmlrpc-c library choose.