Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails + Savon: Undefined Method ssl? on URI::Generic lib/savon/request.rb:91 #28

Closed
splendeo opened this issue Jan 27, 2010 · 2 comments

Comments

@splendeo
Copy link

I've done the following:

sudo gem update rails
sudo gem install savon
rails dummy
cd dummy
script/console

On the console I tried the following:

require 'savon'
client = Savon::Client.new('http://demo.sympa.org/sympa/wsdl')
response = client.login{|soap| soap.body = {'email'=>'my@mail.com', 'pwd' => 'my_password'}}

I got the following error:

Retrieving WSDL from: http://demo.sympa.org/sympa/wsdl
NoMethodError: undefined method `ssl?' for #<URI::Generic:0xa6e74a4 URL:>
    from /usr/local/lib/ruby/gems/1.8/gems/savon-0.7.2/lib/savon/request.rb:91:in `soap'
    from /usr/local/lib/ruby/gems/1.8/gems/savon-0.7.2/lib/savon/client.rb:36:in `method_missing'
@rubiii
Copy link
Contributor

rubiii commented Jan 27, 2010

hey man,

thanks for letting me know about this issue. i added a patch for your problem to the current dev branch. the commit: http://github.com/rubiii/savon/commit/79104caf49b7742ffce653507831d462f81aa9c4

going to release a new version (including this patch) next weekend.

@rubiii
Copy link
Contributor

rubiii commented Jan 31, 2010

released version 0.7.3 including a patch for this issue.

calamitas pushed a commit to calamitas/savon that referenced this issue Jun 7, 2011
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant