[Ironruby-core] How could I get RPC in iron ruby?

Ivan Porto Carrero ivan at whiterabbitconsulting.eu
Fri Mar 19 02:41:59 EDT 2010

There are several ways to do that with IronRuby.

Very CLR centric:
You can create a proxy to your webservice using visual studio, compile to a
dll and use the proxy from your ruby code.

CLR centric:
You can use System.Net.HttpWebRequest to make the request and
System.Xml.XmlDocument to parse the response

Very Ruby centric:
Use Net::HTTP to perform the request and REXML to parse the response
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Web: http://whiterabbitconsulting.eu - http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
Microsoft IronRuby/C# MVP

On Fri, Mar 19, 2010 at 7:19 AM, sagasw <sagasw at gmail.com> wrote:

> I want to find a solution in IronRuby to use RPC function.
> I tried SOAP, but it can't work, any one could tell me how to implement RPC
> (or XMLRPC) in ironruby?
> Thanks,
> ------------------------------------
> C++, Lua, living in Dalian
> http://sunxiunan.com/
> http://twitter.com/sagasw
> ------------------------------------
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100319/6fd177f4/attachment.html>

More information about the Ironruby-core mailing list