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"

    I found the fix and posted the answer on stackoverflow:


Comments are closed.