Calling SOAP services from IronRuby


Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

2008/4/29 Philippe M. [email protected]:

Is that right? Btw what is the 50,000 feet direction for dealing with
generics?

Following code works right now. (Put it in a file and run with
rbx.exe.)

require ‘mscorlib’
include System::Collections::Generic

IntList = List.of(Fixnum)
a = IntList.new
a.add 1
puts a[0]

Philippe M.:

include them in the .xap file. I guess I would prefer to keep all my
code in IronRuby though. What are other folks doing in that space?

The bigger problem that you’re likely to run into is lack of support for
attributes in IronRuby. In the Silverlight sample that I wrote which
defines the contracts in C#
http://www.iunknown.com/2008/03/dynamic-silve-1.html

Thanks,
-John

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs