not sure it is worth it but I found making --classdef take an optional classname argument useful when dealing with WSDL that had no name (in order to avoid the 'default' name)
wsdl2java --classdef toto
creates the class def in toto.rb
./soap4r-155/lib/wsdl/soap/wsdl2ruby.rb ./soap4r-155new/lib/wsdl/soap/wsdl2ruby.rb
35c35
< @name = @wsdl.name ? @wsdl.name.name : 'default'
---
@name = @opt.key?('classdef') ? @optclassdef? : (@wsdl.name ? @wsdl.name.name : 'default')
./soap4r-155/bin/wsdl2ruby.rb ./soap4r-155new/bin/wsdl2ruby.rb
14c14
< ['--classdef','-e', GetoptLong::NO_ARGUMENT],
---
['--classdef','-e', GetoptLong::OPTIONAL_ARGUMENT],
Thanks for soap4r.
P@