开发者

Ruby On Rails - XML-RPC

开发者 https://www.devze.com 2022-12-29 10:29 出处:网络
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

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

精彩评论

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

关注公众号