title: is there a version of soap4r / wsdl2ruby that works with ruby 1.9.2?
body: <p>As suggested in <a href="https://stackoverflow.com/questions/5754965/ruby-soap4r-wsdl2ruby-rb-errors">Ruby soap4r wsdl2ruby.rb errors</a>, I loaded the soap4r gem from git://github.com/felipec/soap4r.git and made the change at line 66 in xmlparser.rb</p>
  
  <pre><code>c.downcase == name
  </code></pre>
  
  <p>to</p>
  
  <pre><code>c.to_s.downcase == name
  </code></pre>
  
  <p>But when I run:</p>
  
  <pre><code>wsdl2ruby.rb --wsdl http://docs.arrayent.com/zamapi.xml --type client --force
  </code></pre>
  
  <p>after a bunch of warnings, it eventually blows up with:</p>
  
  <pre><code>F, [2012-06-01T07:54:26.319928 #285] FATAL -- app: Detected an exception. Stopping ... undefined method `collect' for #&lt;String:0x00000100c4a418&gt; (NoMethodError)
  /Users/r/Developer/Topaz/usr/lib/ruby/gems/1.9.1/gems/soap4r-1.5.8/lib/xsd/codegen/gensupport.rb:239:in `trim_eol'
  </code></pre>
  
  <p>Since 'String#collect' was valid in previous versions of Ruby, my hunch is that this wsdl2ruby hasn't been updated for Ruby 1.9.2.</p>
  
  <p>Is there a newer one?  Or a patch?</p>