I need to call Sharepoint 2010 webservice from Java code & pass NTLM credentials which will be looked up in active directory server by sharepoint. I am have generated Axis2 stubs to achieve this, but when I am trying to use NTLM authenticator but it goes in infinite loop and server keeps returning 401 error.
I have googled enough to get NTLM working with Axis2 but, couldn't get anything concrete that works properly. Is it possible to use NTLM authenticator with Axis2?
Any help is appreciated. I am open to use any non-Axis stubs also, goal is to use NTLM or windows credential SPNEGO token to call sharepoint webservice.