SOAP4R problems on Win2k

Hello,
I installed Soap4r on Win2k and I get the following errors while
trying to run some samples:
From Sample\Calc these are the exception traces thrown by client.rb:
d:/ruby4/lib/ruby/site_ruby/1.6/soap/standaloneServer.rb:74:in
request_handler': Illegal content-type. (RuntimeError) from d:/ruby4/lib/ruby/site_ruby/1.6/soap/httpserver.rb:159:into_proc’
from d:/ruby4/lib/ruby/site_ruby/1.6/soap/standaloneServer.rb:44:in
call' from d:/ruby4/lib/ruby/site_ruby/1.6/soap/httpserver.rb:159:inserve’
from d:/ruby4/lib/ruby/site_ruby/1.6/GServer.rb:133:in start' from d:/ruby4/lib/ruby/site_ruby/1.6/GServer.rb:147:ininitialize’
from d:/ruby4/lib/ruby/site_ruby/1.6/GServer.rb:147:in new' from d:/ruby4/lib/ruby/site_ruby/1.6/GServer.rb:147:instart’
from d:/ruby4/lib/ruby/site_ruby/1.6/GServer.rb:120:in initialize' from d:/ruby4/lib/ruby/site_ruby/1.6/GServer.rb:120:innew’
from d:/ruby4/lib/ruby/site_ruby/1.6/GServer.rb:120:in start' from d:/ruby4/lib/ruby/site_ruby/1.6/soap/standaloneServer.rb:139:inrun’
from d:/ruby4/lib/ruby/site_ruby/1.6/devel/logger.rb:557:in `start’
from server.rb:15

Also sometimes I get:
d:/ruby4/lib/ruby/site_ruby/1.6/http-access2.rb:902:in read': Invalid argument (Errno::EINVAL) from d:/ruby4/lib/ruby/site_ruby/1.6/http-access2.rb:902:inreadBody’
from d:/ruby4/lib/ruby/site_ruby/1.6/http-access2.rb:729:in
getData' from d:/ruby4/lib/ruby/site_ruby/1.6/http-access2.rb:728:intimeout’
from d:/ruby4/lib/ruby/site_ruby/1.6/http-access2.rb:728:in
getData' from d:/ruby4/lib/ruby/site_ruby/1.6/http-access2.rb:284:indoGet’
from d:/ruby4/lib/ruby/site_ruby/1.6/http-access2.rb:185:in
request' from d:/ruby4/lib/ruby/site_ruby/1.6/soap/streamHandler.rb:133:insendPOST’
from d:/ruby4/lib/ruby/site_ruby/1.6/soap/streamHandler.rb:95:in
send' from d:/ruby4/lib/ruby/site_ruby/1.6/soap/proxy.rb:101:ininvoke’
from d:/ruby4/lib/ruby/site_ruby/1.6/soap/proxy.rb:109:in call' from d:/ruby4/lib/ruby/site_ruby/1.6/soap/driver.rb:139:incall’
from (eval):2:in `add’
from client.rb:13

I think this last exception is sockets related but I couldn’t figure it
out.
BabelFish samples doenst work either, though it throws other exception.
I mention that I get the same results on both Ruby-1.7.3 (last day
version) and Ruby-1.6.8-prev4.
Any ideas what’s wrong?

Thanx,
soso

Hi, soso,

From: soso [mailto:_soso@softhome.net]
Sent: Saturday, December 21, 2002 10:10 AM

I installed Soap4r on Win2k and I get the following errors while
trying to run some samples:

BabelFish samples doenst work either, though it throws other
exception.

Hmm. The babelfish sample does not work…

What is dumped with this?

$ ruby -rhttp-access2 -e ‘p HTTPClient.new.head(“http://services.xmethods.net/perl/soaplite.cgi”)’

If you are in a firewall, try this instead of it.

$ ruby -rhttp-access2 -e ‘p HTTPClient.new(“http://httpproxy”).head(“http://services.xmethods.net/perl/soaplite.cgi”)’

http://httpproxy” above should be set for your env
such as “http://proxyhost:8080”.

Regards,
// NaHi