2 thoughts on “Savon vs. Handsoap: Authentication”

  1. Note that this example is not valid:

    client.request.basic_auth “username”, “password”

    It results in the error Savon::Client#request requires at least one argument (ArgumentError)

    You should do this for Savon’s http authentication:

    client = Savon.client("http://path.to.my/service.wsdl") do
        http.auth.basic "user", "password"
    end
    

    I found the fix and posted the answer on stackoverflow:

    http://stackoverflow.com/questions/9225090/sharepoint-upload-files-by-ruby

Comments are closed.