<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SharePoint NTLM Authorization in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/SharePoint-NTLM-Authorization/m-p/2232230#M22258</link>
    <description>Try this post&lt;BR /&gt;&lt;A href="http://www.talendforge.org/forum/viewtopic.php?pid=63089#p63089" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/forum/viewtopic.php?pid=63089#p63089&lt;/A&gt;</description>
    <pubDate>Thu, 21 Mar 2013 09:04:20 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2013-03-21T09:04:20Z</dc:date>
    <item>
      <title>SharePoint NTLM Authorization</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SharePoint-NTLM-Authorization/m-p/2232228#M22256</link>
      <description>Has anyone been able to access SharePoint lists in TOS? I've tried all weekend to access SharePoints web services via advanced usage of the tWebServiceInput component. None of the posts I have found so far have been particularly helpful. The hurdle I can't seem to overcome is NTLM authentication. The best result I've gotten so far while attempting this is what seems to be an unending Authorization loop. Here's the code I've got so far, pieced together from various sources: 
&lt;BR /&gt; 
&lt;PRE&gt;//Set up Credentials&lt;BR /&gt;final org.apache.commons.httpclient.NTCredentials nt = new org.apache.commons.httpclient.NTCredentials("myUsername", "myPassword", "myMachineName", "myDomain");&lt;BR /&gt;final org.apache.commons.httpclient.auth.CredentialsProvider myProvider = new org.apache.commons.httpclient.auth.CredentialsProvider() &lt;BR /&gt;{ &lt;BR /&gt;	public org.apache.commons.httpclient.Credentials getCredentials(final org.apache.commons.httpclient.auth.AuthScheme scheme, final String host, int port, boolean proxy) throws  org.apache.commons.httpclient.auth.CredentialsNotAvailableException &lt;BR /&gt;	{&lt;BR /&gt;                return nt; &lt;BR /&gt;    }&lt;BR /&gt;    &lt;BR /&gt;};&lt;BR /&gt;        //apply credentials&lt;BR /&gt;        org.apache.commons.httpclient.params.DefaultHttpParams.getDefaultParams().setParameter("http.authentication.credential-provider", myProvider);&lt;BR /&gt; &lt;BR /&gt;routines.ListsSoap_PortType ListSvc = new routines.ListsLocator().getListsSoap();&lt;BR /&gt;routines.ListsSoap_BindingStub stub = (routines.ListsSoap_BindingStub)ListSvc;&lt;BR /&gt;&lt;BR /&gt; //disable chunking&lt;BR /&gt;  java.util.Map&amp;lt;String, Object&amp;gt; httpSettings = new java.util.Hashtable();&lt;BR /&gt;  httpSettings.put(org.apache.axis.transport.http.HTTPConstants.HEADER_TRANSFER_ENCODING_CHUNKED, false);&lt;BR /&gt;  stub._setProperty(org.apache.axis.transport.http.HTTPConstants.REQUEST_HEADERS, httpSettings);&lt;BR /&gt;  &lt;BR /&gt;	// finally call service&lt;BR /&gt;	routines.GetListResponseGetListResult result = ListSvc.getList("Things I Like");&lt;/PRE&gt; 
&lt;BR /&gt;And here's what a successful call to the service looks like: 
&lt;BR /&gt;Client said: 
&lt;BR /&gt; 
&lt;PRE&gt;POST /_vti_bin/Lists.asmx HTTP/1.1&lt;BR /&gt;User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4952)&lt;BR /&gt;VsDebuggerCausalityData: uIDPoxyyoXuy6fNCtaqQ1pwHJngAAAAA+QrjHqV8ckOfRxZmSv0moi81cbu45+hKjs5WNvHEqs4ACQAA&lt;BR /&gt;Content-Type: text/xml; charset=utf-8&lt;BR /&gt;SOAPAction: "http://schemas.microsoft.com/sharepoint/soap/GetList"&lt;BR /&gt;Host: 127.0.0.1:8888&lt;BR /&gt;Content-Length: 353&lt;BR /&gt;Expect: 100-continue&lt;BR /&gt;Connection: Keep-Alive&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt;&amp;lt;soap:Body&amp;gt;&amp;lt;GetList xmlns="http://schemas.microsoft.com/sharepoint/soap/"&amp;gt;&amp;lt;listName&amp;gt;Things I Like&amp;lt;/listName&amp;gt;&amp;lt;/GetList&amp;gt;&amp;lt;/soap:Body&amp;gt;&amp;lt;/soap:Envelope&amp;gt;&lt;BR /&gt;POST /_vti_bin/Lists.asmx HTTP/1.1&lt;BR /&gt;User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4952)&lt;BR /&gt;VsDebuggerCausalityData: uIDPoxyyoXuy6fNCtaqQ1pw (snip)&lt;BR /&gt;Content-Type: text/xml; charset=utf-8&lt;BR /&gt;SOAPAction: "http://schemas.microsoft.com/sharepoint/soap/GetList"&lt;BR /&gt;Authorization: NTLM TlRMTVNTUAABAAAAt4II4gAAAAAAAAAAAAAAAAAAAAAGAbAdAAAADw==&lt;BR /&gt;Host: 127.0.0.1:8888&lt;BR /&gt;Content-Length: 0&lt;BR /&gt;POST /_vti_bin/Lists.asmx HTTP/1.1&lt;BR /&gt;User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.4952)&lt;BR /&gt;VsDebuggerCausalityData: uIDPoxyyoXuy6fNCtaqQ1pwHJngAAA (snip)&lt;BR /&gt;Content-Type: text/xml; charset=utf-8&lt;BR /&gt;SOAPAction: "http://schemas.microsoft.com/sharepoint/soap/GetList"&lt;BR /&gt;Authorization: NTLM TlRMTVNTUAADAAAAGAAYAIoAAAAYAB (snip)&lt;BR /&gt;Host: cos-it05d:8888&lt;BR /&gt;Content-Length: 353&lt;BR /&gt;Expect: 100-continue&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt;&amp;lt;soap:Body&amp;gt;&amp;lt;GetList xmlns="http://schemas.microsoft.com/sharepoint/soap/"&amp;gt;&amp;lt;listName&amp;gt;Things I Like&amp;lt;/listName&amp;gt;&amp;lt;/GetList&amp;gt;&amp;lt;/soap:Body&amp;gt;&amp;lt;/soap:Envelope&amp;gt;&lt;/PRE&gt; 
&lt;BR /&gt;Service said: 
&lt;BR /&gt; 
&lt;PRE&gt;HTTP/1.1 401 Unauthorized&lt;BR /&gt;Server: Microsoft-IIS/7.5&lt;BR /&gt;SPRequestGuid: 6398842b-8b9b-45d6-9c5e-fe247ffd8f8d&lt;BR /&gt;WWW-Authenticate: NTLM&lt;BR /&gt;X-Powered-By: ASP.NET&lt;BR /&gt;MicrosoftSharePointTeamServices: 14.0.0.4762&lt;BR /&gt;Date: Fri, 04 Mar 2011 23:43:36 GMT&lt;BR /&gt;Content-Length: 0&lt;BR /&gt;HTTP/1.1 401 Unauthorized&lt;BR /&gt;Server: Microsoft-IIS/7.5&lt;BR /&gt;SPRequestGuid: 1efc66a9-7b46-4519-a5b8-e4bdb536cc81&lt;BR /&gt;WWW-Authenticate: NTLM TlRMTVNTUAACAAAAEAAQADgAAAA1 (snip)&lt;BR /&gt;X-Powered-By: ASP.NET&lt;BR /&gt;MicrosoftSharePointTeamServices: 14.0.0.4762&lt;BR /&gt;Date: Fri, 04 Mar 2011 23:43:36 GMT&lt;BR /&gt;Content-Length: 0&lt;BR /&gt;HTTP/1.1 200 OK&lt;BR /&gt;Cache-Control: private, max-age=0&lt;BR /&gt;Content-Type: text/xml; charset=utf-8&lt;BR /&gt;Server: Microsoft-IIS/7.5&lt;BR /&gt;SPRequestGuid: 2597627a-6aee-489a-b8af-e6c9eaeb3ea9&lt;BR /&gt;Set-Cookie: WSS_KeepSessionAuthenticated={61216cd2-250a-44e4-9b96-480f55ccb5cd}; path=/&lt;BR /&gt;X-SharePointHealthScore: 5&lt;BR /&gt;X-AspNet-Version: 2.0.50727&lt;BR /&gt;Persistent-Auth: true&lt;BR /&gt;X-Powered-By: ASP.NET&lt;BR /&gt;MicrosoftSharePointTeamServices: 14.0.0.4762&lt;BR /&gt;Date: Fri, 04 Mar 2011 23:43:36 GMT&lt;BR /&gt;Content-Length: 41019&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&amp;lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt;&amp;lt;soap:Body&amp;gt;&amp;lt;GetListResponse xmlns="http://schemas.microsoft.com/sharepoint/soap/"&amp;gt;&amp;lt;GetListResult&amp;gt; (snip) &amp;lt;/GetListResult&amp;gt;&amp;lt;/GetListResponse&amp;gt;&amp;lt;/soap:Body&amp;gt;&amp;lt;/soap:Envelope&amp;gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Nov 2024 13:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SharePoint-NTLM-Authorization/m-p/2232228#M22256</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T13:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: SharePoint NTLM Authorization</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SharePoint-NTLM-Authorization/m-p/2232229#M22257</link>
      <description>Could you please provide the full code? I'm desperately looking for the solution</description>
      <pubDate>Tue, 18 Oct 2011 15:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SharePoint-NTLM-Authorization/m-p/2232229#M22257</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-10-18T15:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: SharePoint NTLM Authorization</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SharePoint-NTLM-Authorization/m-p/2232230#M22258</link>
      <description>Try this post&lt;BR /&gt;&lt;A href="http://www.talendforge.org/forum/viewtopic.php?pid=63089#p63089" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/forum/viewtopic.php?pid=63089#p63089&lt;/A&gt;</description>
      <pubDate>Thu, 21 Mar 2013 09:04:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SharePoint-NTLM-Authorization/m-p/2232230#M22258</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-03-21T09:04:20Z</dc:date>
    </item>
  </channel>
</rss>

