How can I get soap4r to work with digest authentication?


#1

Hello,

I used wsdl2rb.rb to create a SOAP client and got it to work with basic
authentication by adding one single line of code to the
defaultDriver.rb file that was built by wsdl2rb.rb. (I also had to
install http-access2 over my Ruby installation to avoid a runtime
error.)

options[“protocol.http.basic_auth”]<<
"https://www.example.com/somewhere/, “user”, “passwd”]

So far so good.

Now: How do I add support for digest authentication to my client?

I’m using Ruby 1.8.1 for Windows.
I’ve installed soap4r 1.5.5.
I’ve installed http-access2 2.0.6.

Thanks,
Yonatan