# Calling SOAP services from IronRuby

**URL:** <https://www.ruby-forum.com/t/calling-soap-services-from-ironruby/136122>\
**Category:** IronRuby\
**Created:** [April 29, 2008, 4:49am UTC](https://www.ruby-forum.com/t/calling-soap-services-from-ironruby/136122 "2008-04-29T04:49:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pmouawad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ee59a6/32.png) [@pmouawad](https://www.ruby-forum.com/u/pmouawad)\
**Post date:** [April 29, 2008, 4:49am UTC](https://www.ruby-forum.com/t/calling-soap-services-from-ironruby/136122/1 "2008-04-29T04:49:57Z")

</div>

* * *

Ironruby-core mailing list  
removed\_email\_address@domain.invalid  
[http://rubyforge.org/mailman/listinfo/ironruby-core](http://rubyforge.org/mailman/listinfo/ironruby-core)

---

<div class="post-metadata">

**Author:** ![pmouawad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ee59a6/32.png) [@pmouawad](https://www.ruby-forum.com/u/pmouawad)\
**Post date:** [April 29, 2008, 6:12am UTC](https://www.ruby-forum.com/t/calling-soap-services-from-ironruby/136122/2 "2008-04-29T06:12:03Z")

</div>

2008/4/29 Philippe M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

> 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]

---

<div class="post-metadata">

**Author:** ![pmouawad](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ee59a6/32.png) [@pmouawad](https://www.ruby-forum.com/u/pmouawad)\
**Post date:** [April 29, 2008, 3:46pm UTC](https://www.ruby-forum.com/t/calling-soap-services-from-ironruby/136122/3 "2008-04-29T15:46:48Z")

</div>

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](http://www.iunknown.com/2008/03/dynamic-silve-1.html)

Thanks,  
-John
