Writing XML-RPC Clients : xmlrpc « Network « Ruby






Writing XML-RPC Clients


require "xmlrpc/client"

client = XMLRPC::Client.new2(
  'http://www.ruby-lang.org/~nahi/xmlrpc/raa/')

p client.call('raa.getAllListings')
p client.call('raa.getInfoFromName', 'XML-RPC')

 








Related examples in the same category

1.XMLRPC call
2.XMLRPC client
3.Writing XML-RPC Servers
4.Dumping and Loading XML-RPC Messages
5.Calling a method made available over XML-RPC
6.process errors that come back from RPC calls with call2
7.Making an XML-RPC-Enabled Program