This week's book giveaway is in the Open Source forum.
We're giving away four copies of RabbitMQ in Depth and have Gavin Roy on-line!
See this thread for details.
The moose likes Web Services and the fly likes Consume Sharepoint 2010 webservice in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Consume Sharepoint 2010 webservice in java" Watch "Consume Sharepoint 2010 webservice in java" New topic

Consume Sharepoint 2010 webservice in java

Vish Shukla
Ranch Hand

Joined: Oct 12, 2008
Posts: 111
Hi all,

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.

Thanks in advance.

Thanks & Regards,
Vishal S Shukla (SCJP 93%, SCWCD 94%, SCBCD 100%)
I agree. Here's the link:
subject: Consume Sharepoint 2010 webservice in java