A
Andrew Porter
[Note: parts of this message were removed to make it a legal post.]
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: (e-mail address removed)
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: (e-mail address removed)