jQuery in Action, 2nd edition*
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 Android Security Essentials Live Lessons this week in the Android 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%)
It is sorta covered in the JavaRanch Style Guide.
subject: Consume Sharepoint 2010 webservice in java
Similar Threads
Consume Sharepoint Web Service from inside code
Axis2: getInboundFaultFrom MessageContext Error!
Problem with Axis2 via proxy with NTLM authentication (currently defaulting to BASIC)
New article: Web Services Authentication with Axis 2