B
Ben Giddings
I decided to try some things with soap4r's wsdl2ruby.rb script, and
unfortunately the first wsdl definition I tried to parse generated an
error, trying to call '.name' on a nil object.
I'm not sure what's going on, and wasn't able to find a way to turn on
debugging in the app to see where it is in the parse tree when things
blow up. I'm not sure where to go from here. I can't guarantee that
the wsdl file is valid either, so maybe that's where the problem is?
Anyhow, here's what I got when parsing the wsdl file here:
http://www.adessosystems.net/adessosql/adessosql.asmx?WSDL
Any suggestions would be greatly appreciated.
Ben
F, [2004-07-14T15:07:25.161225 #836] FATAL -- app: Detected an
exception. Stopping ... undefined method `name' for nil:NilClass
(NoMethodError)
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreatorSupport.rb:28:in
`create_class_name'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreatorSupport.rb:72:in
`dump_inout_type'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreatorSupport.rb:71:in
`each'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreatorSupport.rb:71:in
`dump_inout_type'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreatorSupport.rb:55:in
`dump_signature'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/clientSkeltonCreator.rb:50:in
`dump_porttype'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/clientSkeltonCreator.rb:49:in `each'
/usr/lib/ruby/1.8/xsd/namedelements.rb:43:in `each'
/usr/lib/ruby/1.8/xsd/namedelements.rb:43:in `each'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/clientSkeltonCreator.rb:49:in
`dump_porttype'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/clientSkeltonCreator.rb:29:in `dump'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/clientSkeltonCreator.rb:28:in `each'
/usr/lib/ruby/1.8/xsd/namedelements.rb:43:in `each'
/usr/lib/ruby/1.8/xsd/namedelements.rb:43:in `each'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/clientSkeltonCreator.rb:28:in `dump'
/wsdl2ruby.rb:150:in `create_client_skelton'
/wsdl2ruby.rb:147:in `open'
/wsdl2ruby.rb:147:in `create_client_skelton'
/wsdl2ruby.rb:55:in `create_file'
/wsdl2ruby.rb:45:in `run'
/usr/lib/ruby/1.8/logger.rb:683:in `start'
/wsdl2ruby.rb:236
I, [2004-07-14T15:07:25.161292 #836] INFO -- app: End of app. (status: -1)
unfortunately the first wsdl definition I tried to parse generated an
error, trying to call '.name' on a nil object.
I'm not sure what's going on, and wasn't able to find a way to turn on
debugging in the app to see where it is in the parse tree when things
blow up. I'm not sure where to go from here. I can't guarantee that
the wsdl file is valid either, so maybe that's where the problem is?
Anyhow, here's what I got when parsing the wsdl file here:
http://www.adessosystems.net/adessosql/adessosql.asmx?WSDL
Any suggestions would be greatly appreciated.
Ben
F, [2004-07-14T15:07:25.161225 #836] FATAL -- app: Detected an
exception. Stopping ... undefined method `name' for nil:NilClass
(NoMethodError)
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreatorSupport.rb:28:in
`create_class_name'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreatorSupport.rb:72:in
`dump_inout_type'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreatorSupport.rb:71:in
`each'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreatorSupport.rb:71:in
`dump_inout_type'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/methodDefCreatorSupport.rb:55:in
`dump_signature'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/clientSkeltonCreator.rb:50:in
`dump_porttype'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/clientSkeltonCreator.rb:49:in `each'
/usr/lib/ruby/1.8/xsd/namedelements.rb:43:in `each'
/usr/lib/ruby/1.8/xsd/namedelements.rb:43:in `each'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/clientSkeltonCreator.rb:49:in
`dump_porttype'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/clientSkeltonCreator.rb:29:in `dump'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/clientSkeltonCreator.rb:28:in `each'
/usr/lib/ruby/1.8/xsd/namedelements.rb:43:in `each'
/usr/lib/ruby/1.8/xsd/namedelements.rb:43:in `each'
/usr/lib/ruby/site_ruby/1.8/wsdl/soap/clientSkeltonCreator.rb:28:in `dump'
/wsdl2ruby.rb:150:in `create_client_skelton'
/wsdl2ruby.rb:147:in `open'
/wsdl2ruby.rb:147:in `create_client_skelton'
/wsdl2ruby.rb:55:in `create_file'
/wsdl2ruby.rb:45:in `run'
/usr/lib/ruby/1.8/logger.rb:683:in `start'
/wsdl2ruby.rb:236
I, [2004-07-14T15:07:25.161292 #836] INFO -- app: End of app. (status: -1)