Greetings,

I'm just getting my feet wet with Ruby and have decided that it's the  
perfect tool for a couple of projects I have on the go.  One  
component of a project is to be able to query (and eventually  
manipulate) information being offered from a VMWare Virtual Center  
server.  They have a complete SDK available that's supported on  
Java, .Net and Axis. No mention of Ruby, but as long as it's a  
properly done WSDL implementation that shouldn't matter, right :-) ?

Anyway, I just downloaded the SDK and installed soap4r.  When I try  
to run wsdl2ruby.rb, I get the following errors.

wsdl2ruby.rb --wsdl vim.wsdl --type client --force
F, [2007-02-16T17:01:57.716826 #806] FATAL -- app: Detected an  
exception. Stopping ... undefined method `new' for nil:NilClass  
(NoMethodError)
/usr/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/xsd/xmlparser/ 
parser.rb:33:in `create_parser'
/usr/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/xsd/ 
xmlparser.rb:17:in `create_parser'
/usr/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/parser.rb: 
53:in `initialize'
/usr/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/ 
importer.rb:29:in `new'
/usr/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/ 
importer.rb:29:in `parse'
/usr/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/xmlSchema/ 
importer.rb:30:in `import'
/usr/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/ 
importer.rb:18:in `import'
/usr/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/soap/ 
wsdl2ruby.rb:190:in `import'
/usr/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/soap/ 
wsdl2ruby.rb:34:in `run'
/usr/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/bin/wsdl2ruby.rb: 
44:in `run'
/usr/lib/ruby/1.8/logger.rb:684:in `start'
/usr/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/bin/wsdl2ruby.rb:131
/usr/bin/wsdl2ruby.rb:16:in `load'
/usr/bin/wsdl2ruby.rb:16
I, [2007-02-16T17:01:57.717081 #806]  INFO -- app: End of app.  
(status: -1)

I can supply the vim.wdsl file that is in the SDK or it's available  
on the VMWare site.

Hints and tips appreciated,

Erik