rubiii/savon — Issue #252: http basic authentication
Author: aspy
Created: 2011-12-27 06:12:27+00:00
State: open

I have a web service with http basic authentication.

How to use Savon in this case?

This way not work:

@client = Savon::Client.new do
wsdl.document = "http://webservice.com/ws?wsdl"
http.auth.basic 'username', 'password'
end

debug(@client.wsdl.soap_actions) # error => Wasabi needs a WSDL document