From: Mark Thomas Date: 2009-03-28T02:27:07+09:00 Subject: Re: SOAP and NTLM Authentication On Mar 27, 12:01 pm, Andrew Porter wrote: > The example you give on your blog, like all the others I've seen,   > assumes the WSDL file is "in the open." In my case, I have to   > authenticate in order to even get to it. Your example creates the   > driver first, then adds authentication for subsequent requests. I   > can't even create the driver. The SOAP::WSDLDriverFactory.new() call   > fails every time with a 401, "Unauthorized" error. Since you have shown you can get the WSDL, can't you just use it locally when generating your client? wsdl2ruby --wsdl --type client --force > Also, I'm using the SOAP libraries in Ruby 1.8.6. It's my   > understanding that soap4r was integrated into this version of Ruby. Am   > I mistaken? Do NOT use the built-in libraries. Please upgrade to the latest.