Ruby On Rails - XML-RPC
I need to implement a ruby on rails project using XML-RPC. I开发者_如何学Python have no idea where to get started but I've used ruby on rails before (just never with XML-RPC). Can someone help me out on get started with this?
If you want to use rails project like a server try this gem: rails-xmlrpc
If you want your project to connect to xmlrpc server, here is an example:
require 'xmlrpc/client'
server = XMLRPC::Client.new2("http://localhost:3000/api/xmlrpc")
server.call("Namespace.method_name")
精彩评论