title: Ruby soap4r wsdl2ruby.rb errors
body: <p>I am trying to run the wsdl2ruby.rb script that comes with the soap4r gem, and get the following errors:</p>
  
  <pre><code>[ral@lap etc]$ ruby /usr/lib/ruby/gems/1.9.1/gems/soap4r-1.5.8/bin/wsdl2ruby.rb
  /usr/lib/ruby/gems/1.9.1/gems/soap4r-1.5.8/lib/xsd/charset.rb:13: warning: variable $KCODE is no longer effective
  /usr/lib/ruby/gems/1.9.1/gems/soap4r-1.5.8/lib/soap/property.rb:68: warning: encoding option is ignored - u
  /usr/lib/ruby/gems/1.9.1/gems/soap4r-1.5.8/lib/soap/property.rb:69: warning: encoding option is ignored - u
  /usr/lib/ruby/gems/1.9.1/gems/soap4r-1.5.8/lib/soap/property.rb:70: warning: encoding option is ignored - u
  /usr/lib/ruby/gems/1.9.1/gems/soap4r-1.5.8/lib/xsd/xmlparser.rb:74:in `&lt;top (required)&gt;': XML processor module not found. (RuntimeError)
      from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
      from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
      from /usr/lib/ruby/gems/1.9.1/gems/soap4r-1.5.8/lib/wsdl/xmlSchema/parser.rb:13:in `&lt;top (required)&gt;'
      from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
      from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
      from /usr/lib/ruby/gems/1.9.1/gems/soap4r-1.5.8/lib/wsdl/xmlSchema/importer.rb:11:in `&lt;top (required)&gt;'
      from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
      from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
      from /usr/lib/ruby/gems/1.9.1/gems/soap4r-1.5.8/lib/wsdl/importer.rb:9:in `&lt;top (required)&gt;'
      from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
      from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
      from /usr/lib/ruby/gems/1.9.1/gems/soap4r-1.5.8/lib/wsdl/soap/wsdl2ruby.rb:11:in `&lt;top (required)&gt;'
      from &lt;internal:lib/rubygems/custom_require&gt;:33:in `require'
      from &lt;internal:lib/rubygems/custom_require&gt;:33:in `rescue in require'
      from &lt;internal:lib/rubygems/custom_require&gt;:29:in `require'
      from /usr/lib/ruby/gems/1.9.1/gems/soap4r-1.5.8/bin/wsdl2ruby.rb:5:in `&lt;main&gt;'
  </code></pre>
  
  <p>I have the following gems installed:</p>
  
  <blockquote>
    <p>httpclient (2.2.0.1) minitest (1.6.0)
    rake (0.8.7) rdoc (2.5.8) soap4r
    (1.5.8)</p>
  </blockquote>
  
  <p>I have tried to install the xml parser gem which fails with loads of errors: <a href="http://pastie.org/1822127" rel="nofollow">http://pastie.org/1822127</a></p>
  
  <p>Does anyone know what the problem is? This is my first time touching Ruby.</p>
  
  <p>Is soap4r the best tool for the job for making a SOAP webservice client?</p>
  
  <p>Thanks a lot!</p>