From: Andrew Porter Date: 2009-03-27T07:50:12+09:00 Subject: SOAP and NTLM Authentication --Boundary_(ID_9kKUY6sWN6gypVBpHH6bFw) Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-transfer-encoding: 7BIT I'm trying to integrate with Sharepoint Services, and need to connect to the server using NTLM authentication. I can't get the following lines of code to work: WSDL_URL = 'http://sharepoint.wavetronix.local/_vti_bin/lists.asmx?WSDL' soap = SOAP::WSDLDriverFactory.new(WSDL_URL).create_rpc_driver I keep getting a 401, "Unauthorized" error. This code does work: client = HTTPClient.new client.set_auth(nil, 'DOMAIN\username', 'password') response = client.get(WSDL_URL) All examples I find show setting authorization properties AFTER the create_rpc_driver call above. I need to authorize BEFORE so I can actually access the WSDL file. How do I do this? Andy Porter p: (801) 319-0475 | e: partydrone@me.com --Boundary_(ID_9kKUY6sWN6gypVBpHH6bFw)--