dcsimg
Linux Today: Linux News On Internet Time.




More on LinuxToday


Eric Kidd: XML-RPC Linux HOWTO: RPC made easier

Jan 22, 2001, 08:32 (0 Talkback[s])
(Other stories by Eric Kidd)

WEBINAR:
On-Demand

Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers


[ Thanks to Eric Kidd for this link. ]

"XML-RPC is a simple, portable way to make remote procedure calls over HTTP. It can be used with Perl, Java, Python, C, C++, PHP and many other programming languages. Implementations are available for Unix, Windows and the Macintosh."

"Here's a short XML-RPC client written in Perl. (We use Ken MacLeod's Frontier::Client module.)"

use Frontier::Client;
$server = Frontier::Client->new(url => 'http://betty.userland.com/RPC2');
$name = $server->call('examples.getStateName', 41);
print "$name\n";
"...In the following chapters, you'll learn how to write XML-RPC clients and servers in a variety of programming languages."

Complete Story

Related Stories: