Andrew Porter wrote: > The following code seems to be working: > > require 'rubygems' > gem 'soap4r' > require 'defaultDriver' > > user = 'DOMAIN\username' > pass = 'password' > > driver = ListsSoap.new > driver.options['protocol.http.auth.ntlm'] = [nil, user, pass] > driver.wiredump_file_base = 'soap.log' > > lists = driver.getListCollection(nil) > > > I used the wsdl2ruby utility and generated the files. I was, however, > hoping to do this dynamicallyˇÄ Hai , I have tried this . But it is not working . For network credential i have used this . After using also , i got Authentication failure error from the server . -- Posted via http://www.ruby-forum.com/.