.oO(dexta@euphoria ~) soap4r-1_5_5/bin/wsdl2ruby.rb --type client 
--force --wsdl "https://test-api.geotrust.com/webtrust/query.jws?WSDL"
at depth 1 - 19: self signed certificate in certificate chain
F, [2006-05-19T12:17:21.663978 #47373] FATAL -- app: Detected an 
exception. Stopping ... certificate verify failed 
(OpenSSL::SSL::SSLError)
/usr/local/lib/ruby/site_ruby/1.8/http-access2.rb:1001:in `connect'
/usr/local/lib/ruby/site_ruby/1.8/http-access2.rb:1001:in `ssl_connect'
/usr/local/lib/ruby/site_ruby/1.8/http-access2.rb:1363:in `connect'
/usr/local/lib/ruby/1.8/timeout.rb:56:in `timeout'
/usr/local/lib/ruby/1.8/timeout.rb:76:in `timeout'
/usr/local/lib/ruby/site_ruby/1.8/http-access2.rb:1351:in `connect'
/usr/local/lib/ruby/site_ruby/1.8/http-access2.rb:1209:in `query'
/usr/local/lib/ruby/site_ruby/1.8/http-access2.rb:892:in `query'
/usr/local/lib/ruby/site_ruby/1.8/http-access2.rb:434:in `do_get_block'
/usr/local/lib/ruby/site_ruby/1.8/http-access2.rb:370:in `conn_request'
/usr/local/lib/ruby/site_ruby/1.8/http-access2.rb:285:in `request'
/usr/local/lib/ruby/site_ruby/1.8/http-access2.rb:260:in `get'
/usr/local/lib/ruby/site_ruby/1.8/http-access2.rb:239:in `get_content'
/usr/local/lib/ruby/site_ruby/1.8/http-access2.rb:349:in `retry_connect'
/usr/local/lib/ruby/site_ruby/1.8/http-access2.rb:238:in `get_content'
/usr/local/lib/ruby/1.8/wsdl/xmlSchema/importer.rb:64:in `fetch'
/usr/local/lib/ruby/1.8/wsdl/xmlSchema/importer.rb:30:in `import'
/usr/local/lib/ruby/1.8/wsdl/importer.rb:18:in `import'
/usr/local/lib/ruby/1.8/wsdl/soap/wsdl2ruby.rb:170:in `import'
/usr/local/lib/ruby/1.8/wsdl/soap/wsdl2ruby.rb:34:in `run'
soap4r-1_5_5/bin/wsdl2ruby.rb:42:in `run'
/usr/local/lib/ruby/1.8/logger.rb:668:in `start'
soap4r-1_5_5/bin/wsdl2ruby.rb:125
I, [2006-05-19T12:17:21.664698 #47373]  INFO -- app: End of app. 
(status: -1)

I know that i can do something like this:
 client = HTTPAccess2::Client.new
 client.ssl_config.verify_mode = nil
 content = 
client.get_content("https://test-api.geotrust.com/webtrust/query.jws?WSDL")

But how to achieve this with SOAP4r? And should i even use SOAP4r or 
something else? I am really clueless :)

-- 
Posted via http://www.ruby-forum.com/.