permaculture playing cards*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Similar Threads
Axis2: getInboundFaultFrom MessageContext Error!
Consume Sharepoint Web Service from inside code
New article: Web Services Authentication with Axis 2
Problem with Axis2 via proxy with NTLM authentication (currently defaulting to BASIC)