Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > soap4r wsdl2ruby.rb issue - part: value cannot be resolved (RuntimeError)

Reply
Thread Tools

soap4r wsdl2ruby.rb issue - part: value cannot be resolved (RuntimeError)

 
 
Rob Goodwin
Guest
Posts: n/a
 
      02-15-2007
Hi there.. Me again. I'm still having problems getting past this
issue with wsdl2ruby.
this is the command..

wsdl2ruby.rb --wsdl http://www.myfonts.com/soap/myfonts.wsdl --type
client --force

I do get 3 files...

MyfontsAPIDriver.rb MyfontsAPIMappingRegistry.rb MyfontsAPI.rb

But it crashes while it's trying to generate MyfontsAPIDriver.rb it seems.

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:in `collect_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?

Can someone else try it with my wsdl please and let me know if it
crashes for you as well?

I would like to know if it's something wrong with my WSDL file or with
wsdl2ruby.rb.. the wsdl file checks out fine with the validators i
have run on it.

thanks,

robin

 
Reply With Quote
 
 
 
 
Rob Goodwin
Guest
Posts: n/a
 
      02-15-2007
Is there anyone here that could help me verify that this is a problem
with wsdl2ruby.rb and not with my WSDL ?

this would be the command to try it..

wsdl2ruby.rb --wsdl http://www.myfonts.com/soap/myfonts.wsdl --type
client --force

Is there someone in particular who is the master of soap4r that i
should maybe contact directly?

thanks

r

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Only a type can be imported" and "cannot be resolved to a type" alessio Java 1 03-03-2007 02:46 PM
wsdl2ruby.rb issue - part: value cannot be resolved (RuntimeError) Rob Goodwin Ruby 0 02-14-2007 09:25 AM
The import org.apache.tools cannot be resolved John Smith Java 1 05-31-2006 03:45 PM
enum cannot be resolved (or it is not a valid type) bossanovaplayer Java 4 06-17-2005 02:02 PM
schema.system.s07E5261BE14EB2525B58699540CEADCA cannot be resolved raj_renu@yahoo.com Java 0 06-01-2005 03:01 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57