Wsdl2ruby.rb issue - part: value cannot be resolved (Runtime


#1

I’ trying to run wsdl2ruby but having an issue with it crashing before
completion.

this is the command…

wsdl2ruby.rb --wsdl http://www.myfonts.com/soap/myfonts.wsdl --type
client --force
ignored attr: {}message

I seems to get 3 files

MyfontsAPIDriver.rb MyfontsAPIMappingRegistry.rb MyfontsAPI.rb

and then an error

I, [2007-02-12T03:57:17.805373 #12494] INFO – app: Creating class
definition.
W, [2007-02-12T03:57:17.805679 #12494] WARN – app: File
‘MyfontsAPI.rb’ exists but overrides it.
I, [2007-02-12T03:57:17.998889 #12494] INFO – app: Creating mapping
registry definition.
W, [2007-02-12T03:57:17.999108 #12494] WARN – app: File
‘MyfontsAPIMappingRegistry.rb’ exists but overrides it.
I, [2007-02-12T03:57:18.321613 #12494] INFO – app: Creating driver.
W, [2007-02-12T03:57:18.321850 #12494] WARN – app: File
‘MyfontsAPIDriver.rb’ exists but overrides it.
F, [2007-02-12T03:57:18.325176 #12494] FATAL – app: Detected an
exception. Stopping … part: value cannot be resolved (RuntimeError)
/usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/soap/
methodDefCreator.rb:166:in rpcdefinedtype' /usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/soap/ methodDefCreator.rb:62:incollect_rpcparameter’
/usr/local/lib/ruby/gems/1.8/gems/soap4r-1.5.5.20061022/lib/wsdl/soap/
methodDefCreator.rb:60:in `collect’
/

The trace keeps going but I thought maybe that is as much as anyone
would need to know. Let me know if i should show more.

what can be causing this?