SOAP4R: problems in wsdl2ruby generator


#1

Hello (an sorry for previous incomplete messages).

I’ve tried to use wsdl2ruby generator with this particular wsdl:
http://gzip.rsdn.ru/ws/forum.asmx?WSDL

wsdl2ruby --wsdl rsdn.wsdl --classdef --force

But unforunately received the following error:

ignored element: {http://www.w3.org/2001/XMLSchema}list
ignored attr: {}default
I, [2006-03-16T12:24:42.053000 #3352] INFO – app: Creating class
definition.
W, [2006-03-16T12:24:42.063000 #3352] WARN – app: File ‘default.rb’
exists
but overrides it.
F, [2006-03-16T12:24:42.504000 #3352] FATAL – app: Detected an
exception.
Stopping … incomplete simpleType (ArgumentError)
c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/xmlSchema/simpleType.rb:34:in
base' c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/classDefCreator.rb:217:inbasetype_class’
c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/classDefCreator.rb:195:in
element_basetype' c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/classDefCreator.rb:138:indump_classdef’
c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/classDefCreator.rb:135:in
each_element' c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/xmlSchema/complexType.rb:52:ineach’
c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/xmlSchema/complexType.rb:52:in
each_element' c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/classDefCreator.rb:135:indump_classdef’
c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/classDefCreator.rb:80:in
dump_complextype' c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/classDefCreator.rb:77:incollect’
c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/classDefCreator.rb:77:in
each' c:/_cmd/ruby/lib/ruby/1.8/xsd/namedelements.rb:57:ineach’
c:/_cmd/ruby/lib/ruby/1.8/xsd/namedelements.rb:57:in each' c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/classDefCreator.rb:77:incollect’

c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/classDefCreator.rb:77:in
dump_complextype' c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/classDefCreator.rb:41:indump’
c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/wsdl2ruby.rb:64:in
create_classdef' c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/wsdl2ruby.rb:63:inwrite_file’
c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/wsdl2ruby.rb:134:in open' c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/wsdl2ruby.rb:134:inwrite_file’
c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/wsdl2ruby.rb:63:in
create_classdef' c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/wsdl2ruby.rb:51:increate_file’
c:/_cmd/ruby/lib/ruby/site_ruby/1.8/wsdl/soap/wsdl2ruby.rb:36:in run' D:/!work/projects/sunaj/doc/wsdl2ruby.rb:42:inrun’
c:/_cmd/ruby/lib/ruby/1.8/logger.rb:684:in `start’
D:/!work/projects/sunaj/doc/wsdl2ruby.rb:125
I, [2006-03-16T12:24:42.504000 #3352] INFO – app: End of app. (status:
-1)

I’m not an WSDL expert. All I want to know: where error is - inside Ruby
library or inside this particular wsdl itself?

(ruby 1.8.2, WindowsXP, soap4r-1_5_5)

Thanks (and sorry for my pure English).
Victor S…