开发者

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")
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜